Update trickortreat.py (#67)

This commit is contained in:
PredaaA
2019-10-03 20:57:50 +02:00
committed by aikaterna
parent 6c6cdf1a20
commit 5d87c3dcdc

View File

@@ -440,7 +440,7 @@ class TrickOrTreat(commands.Cog):
new_sickness = 0
await self.config.user(message.author).sickness.set(new_sickness)
if "trick or treat" not in content:
if not content.startswith("trick or treat"):
return
toggle = await self.config.guild(message.guild).toggle()
if not toggle: