From 2bea9b25072f0cd9d5dddafe226702027caeb120 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 23 Feb 2022 13:52:17 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_1/SBCore/commands/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py index 4a48231..867b00c 100644 --- a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py +++ b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py @@ -105,7 +105,9 @@ class Commands(): def get_command_from_trigger(self, trigger): commstring = trigger.args[1] + print(commstring) if commstring.startswith(tuple(self.config.prefix_list)): + print(commstring[:1]) command = commstring[1:].split(" ")[0] elif commstring.startswith(self.bot.nick): command = " ".join(commstring.split(" ")[1:]).split(" ")[0]