Update trickortreat.py
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user