Changed bot to self.bot
This commit is contained in:
parent
8128ea309e
commit
e607beb88d
|
@ -26,7 +26,7 @@ class Core:
|
|||
perms.embed_links = True
|
||||
perms.read_message_history = True
|
||||
perms.attach_files = True
|
||||
await bot.say("Use this URL to add me to a server that you'd like!\n{}'".format(discord.utils.oauth_url('183748889814237186',perms)))
|
||||
await self.bot.say("Use this URL to add me to a server that you'd like!\n{}'".format(discord.utils.oauth_url('183748889814237186',perms)))
|
||||
|
||||
@commands.command()
|
||||
async def joke(self):
|
||||
|
|
Loading…
Reference in a new issue