From 3b9658083f6e588529d8ba1713e23642af491c8c Mon Sep 17 00:00:00 2001 From: bobloy Date: Mon, 3 Aug 2020 12:48:06 -0400 Subject: [PATCH] Reformat --- chatter/chat.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/chatter/chat.py b/chatter/chat.py index 9855da7..ec8e7b1 100644 --- a/chatter/chat.py +++ b/chatter/chat.py @@ -167,13 +167,17 @@ class Chatter(Cog): """ if not confirm: - await ctx.send("Warning, this command will erase all your training data and reset your configuration\n" - "If you want to proceed, run the command again as `[p]chatter cleardata True`") + await ctx.send( + "Warning, this command will erase all your training data and reset your configuration\n" + "If you want to proceed, run the command again as `[p]chatter cleardata True`" + ) return async with ctx.typing(): await self.config.clear_all() self.chatbot = None - await asyncio.sleep(10) # Pause to allow pending commands to complete before deleting sql data + await asyncio.sleep( + 10 + ) # Pause to allow pending commands to complete before deleting sql data if os.path.isfile(self.data_path): os.remove(self.data_path)