Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

discord command addrole python

@bot.command()
async def online(ctx):
    role = discord.utils.get(bot.get_guild(ctx.guild.id).roles, id ="Role ID")
    await members.add_roles(role)
#NEW AND UPDATED BY: AtoZ#1234

#Have fun.
 
PREVIOUS NEXT
Tagged: #discord #command #addrole #python
ADD COMMENT
Topic
Name
7+9 =