![html](https://habrastorage.org/r/w120/webt/5a/6c/29/5a6c29308ac8a661581550.png)
HTML
1
Вклад в тег
@bot.command()
async def role(ctx):
author = ctx.message.author
guild = bot.get_guild(id your server)
role = guild.get_role(role id)
await author.add_roles(role)
author = bot.get_member(member id)
Надеюсь помог :)