fix uneating candy (#68)

This commit is contained in:
NIXC
2019-10-04 19:44:45 -06:00
committed by aikaterna
parent e8db484870
commit 50f0ad6099

View File

@@ -38,8 +38,10 @@ class TrickOrTreat(commands.Cog):
pick = await self.config.guild(ctx.guild).pick()
if not candy_type:
candy_type = "candies"
if number <= 0:
number == 1
if number < 0:
return await ctx.send("That doesn't sound fun.")
if number == 0:
return await ctx.send("You pretend to eat a candy.")
if candy_type in ["candies", "candy"]:
candy_type = "candies"
if candy_type in ["lollipops", "lollipop"]: