diff options
| author | 2021-05-03 19:23:52 -0400 | |
|---|---|---|
| committer | 2021-05-03 19:23:52 -0400 | |
| commit | a7279c624b093ffe826edadbc999103083710953 (patch) | |
| tree | addd04d27f2cdf112eccd5cdf3c3818fd4d28c44 /bot/exts/easter/easter_riddle.py | |
| parent | chore: End the sentence with a period (diff) | |
chore: Don't return a Message object when the return annotation is None
Diffstat (limited to 'bot/exts/easter/easter_riddle.py')
| -rw-r--r-- | bot/exts/easter/easter_riddle.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/easter/easter_riddle.py b/bot/exts/easter/easter_riddle.py index da66edf5..9a253a6a 100644 --- a/bot/exts/easter/easter_riddle.py +++ b/bot/exts/easter/easter_riddle.py @@ -35,7 +35,8 @@ class EasterRiddle(commands.Cog): The duration of the hint interval can be configured by changing the TIMELIMIT constant in this file. """ if self.current_channel: - return await ctx.send(f"A riddle is already being solved in {self.current_channel.mention}!") + await ctx.send(f"A riddle is already being solved in {self.current_channel.mention}!") + return # Don't let users start in a DM if not ctx.guild: |