From c5242d159057bcbcd90402f859fee85d2bb8e129 Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Fri, 8 Apr 2016 14:24:53 +1000 Subject: [PATCH] games: Fix help prefix stripper --- plugins/games.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/games.py b/plugins/games.py index 346cc85..d8dc42b 100644 --- a/plugins/games.py +++ b/plugins/games.py @@ -176,7 +176,7 @@ class CommandHandler: cmd = command.args.strip().split(' ', 1)[0].casefold() if cmd.startswith(self.public_command_prefix): - cmd = cmd[len(self.public_command_prefix) - 1:] + cmd = cmd[len(self.public_command_prefix):] handler = self.commands.get(cmd) if handler: