📅  最后修改于: 2022-03-11 14:47:23.357000             🧑  作者: Mango
@async def on_message(message):
if message.content == "give me admin"
role = discord.utils.get(server.roles, name="Admin")
await client.add_roles(message.author.id, role)