Awaiting function

pull/8/head
sgoudham 4 years ago
parent bf206bfd5f
commit 21bfa2d656

@ -47,8 +47,8 @@ class Owner(Cog):
async def restart(self, ctx): async def restart(self, ctx):
"""Restart the Bot""" """Restart the Bot"""
self.bot.generate_embed(ctx, desc="**Success Senpai!" await self.bot.generate_embed(ctx, desc="**Success Senpai!"
"\nMy Reboot Had No Problems** <a:ThumbsUp:737832825469796382>") "\nMy Reboot Had No Problems** <a:ThumbsUp:737832825469796382>")
self.bot.db.terminate() self.bot.db.terminate()
await self.bot.db.wait_closed() await self.bot.db.wait_closed()

Loading…
Cancel
Save