From e607beb88d5e5335233a69fe0215f3ee8325dcef Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sat, 9 Jul 2016 13:30:45 -0500 Subject: [PATCH] Changed bot to self.bot --- cogs/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/core.py b/cogs/core.py index 2008231..d47897b 100644 --- a/cogs/core.py +++ b/cogs/core.py @@ -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):