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)