Removed async await test function

This commit is contained in:
Vivek Santayana 2021-07-17 14:00:23 +01:00
parent 78bc73c023
commit 241403f5fb

View File

@ -17,9 +17,6 @@ class on_ready(commands.Cog, name='On Ready Events'):
@commands.Cog.listener() @commands.Cog.listener()
async def on_ready(self): async def on_ready(self):
async def test(self):
await self.client.get_channel(865348933022515220).send('Foo')
#### Create any missing config entries for guilds #### Create any missing config entries for guilds
for guild in self.client.guilds: for guild in self.client.guilds:
setConfig(guild) setConfig(guild)
@ -40,7 +37,5 @@ class on_ready(commands.Cog, name='On Ready Events'):
# unloadCogs('slashcommands') # unloadCogs('slashcommands')
# loadCogs('slashcommands') # loadCogs('slashcommands')
await test(self)
def setup(client): def setup(client):
client.add_cog(on_ready(client)) client.add_cog(on_ready(client))