From 1e674ee75b49d5d9c88bc4000a776d96ce0a47e6 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Thu, 30 Dec 2021 00:16:52 -0500 Subject: [PATCH] Update: WillieTimer; Proper disposal of variable during each loop --- modules/WillieTimer/cog.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/WillieTimer/cog.py b/modules/WillieTimer/cog.py index efc19b3..a20f5b7 100644 --- a/modules/WillieTimer/cog.py +++ b/modules/WillieTimer/cog.py @@ -44,6 +44,8 @@ class WillieTimer(commands.Cog): print(f"It's {datetime.datetime.now().strftime('%H:%M:%S')}!") await self.channel.send(output_string['warm up']) + del output_string + @commands.command(help="Use this command to start the background task to wait for 4:20", brief="Starts the 4:20 clock") async def start420(self, ctx, *, member: discord.Member = None):