Update trickortreat.py

This commit is contained in:
aikaterna
2019-10-01 19:45:28 -07:00
committed by GitHub
parent e6181a704b
commit d94fc1b596

View File

@@ -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)