I\'ve been trying to add roles in an on_ready command.
@client.event async def on_ready(): with open(\'roles.json\',\'r\') as f: rolesjson = json.load