From 5d87c3dcdce90623e61de7578a75616262409bf0 Mon Sep 17 00:00:00 2001 From: PredaaA <46051820+PredaaA@users.noreply.github.com> Date: Thu, 3 Oct 2019 20:57:50 +0200 Subject: [PATCH] Update trickortreat.py (#67) --- trickortreat/trickortreat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trickortreat/trickortreat.py b/trickortreat/trickortreat.py index 19d3761..6a59770 100644 --- a/trickortreat/trickortreat.py +++ b/trickortreat/trickortreat.py @@ -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: