Removed async await test function
This commit is contained in:
parent
78bc73c023
commit
241403f5fb
@ -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))
|
Loading…
Reference in New Issue
Block a user