在这段代码中,我需要确定给定的角色 ID 是否在作者角色列表中。角色 ID - 767450270888099910
@bot.command()
async def report(ctx, player: discord.Member, *args):
author = ctx.message.author
if 767450270888099910 in author.roles:
await ctx.send('Предателям не давали право открывать рот! Скажи спасибо что ты можешь остаться на сервере...')
return True
唉,这里只有一个循环: