Removed async await test function
This commit is contained in:
		@@ -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))
 | 
				
			||||||
		Reference in New Issue
	
	Block a user