From d94fc1b5961a3669cd17394797b67d71ddfd7742 Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Tue, 1 Oct 2019 19:45:28 -0700 Subject: [PATCH] Update trickortreat.py --- trickortreat/trickortreat.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/trickortreat/trickortreat.py b/trickortreat/trickortreat.py index b64421e..b1786ce 100644 --- a/trickortreat/trickortreat.py +++ b/trickortreat/trickortreat.py @@ -463,7 +463,6 @@ class TrickOrTreat(BaseCog): int((now - last_time).total_seconds()) < await self.config.guild(message.guild).cooldown() ): - await self.config.user(message.author).last_tot.set(str(now)) messages = [ "The thought of candy right now doesn't really sound like a good idea.", "All the lights on this street are dark...", @@ -475,7 +474,7 @@ class TrickOrTreat(BaseCog): "The wind starts to pick up as you look for the next house...", ] return await message.channel.send(random.choice(messages)) - + await self.config.user(message.author).last_tot.set(str(now)) candy = random.randint(1, 25) lollipop = random.randint(0, 100) star = random.randint(0, 100)