【发布时间】:2021-09-01 16:51:27
【问题描述】:
@Bot.command()
async def cl(ctx,member:discord.Member = None):
with open("C:\python3\economy.json","r") as f:
json.load(f)
queue.remove(str(member.id))
with open("C:\python3\economy.json","w") as f:
json.dump(f)
我只需要删除图片上突出显示的文本: json file
【问题讨论】:
-
欢迎来到 StackOverflow。您是否查看过如何从 JSON 文件中删除条目? StackOverflow 上有很多关于它的帖子。你也可以看看how to ask a good question
标签: python list discord.py