📜  discord add role on member join - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:56.892000             🧑  作者: Mango

代码示例2
@client.event
async def on_member_join(ctx):
    await person.add_roles(person.guild.get_role())