test
This commit is contained in:
parent
56abecef95
commit
2bea9b2507
@ -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]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user