Just trying to see what works and what doesn't

pull/8/head
sgoudham 4 years ago
parent 8f473da1a7
commit c0a26ba776

@ -125,7 +125,7 @@ class Bot(commands.Bot):
# Establish Database Connection
# self.loop.run_until_complete(create_connection())
# Load Information Into Cache
self.loop.run_until_complete(startup_cache_log())
# self.loop.run_until_complete(startup_cache_log())
async def post_bot_stats():
"""Update guild count on discord.bots.gg"""

@ -20,6 +20,7 @@ from bot import Bot
# Initiating Bot Object As Client
client = Bot()
client.create_connection()
@client.command()
@ -38,7 +39,5 @@ async def test(ctx):
print(client.member_cache.cache)
client.create_connection()
# Run the bot
client.execute()

Loading…
Cancel
Save