我试图让我的代码只使用一个不一致ID。无论用户是否具有该不一致ID,它都会发送“你做到了!”
@commands.command()
async def boop(self, ctx):
discord.Member.id=562041484174426127
if discord.Member.id is ctx.author.id:
await ctx.send("You did it!")
else:
ctx.send("You don't have permission!")
Tags:
目前没有回答
相关问题 更多 >
编程相关推荐