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.
YourMomWithMeInBed