2
0
mirror of https://github.com/Nick80835/microbot synced 2025-08-28 21:18:34 +00:00

restore _ command sep

This commit is contained in:
Nick80835 2020-04-17 17:04:02 -04:00
parent 1c082f17ab
commit 8b8c48d68e

View File

@ -7,7 +7,7 @@ from telethon import events
class CommandHandler():
def __init__(self, client, logger, settings):
self.pattern_template = "(?is)^{0}{1}(?: |$)(.*)"
self.pattern_template = "(?is)^{0}{1}(?: |$|_)(.*)"
self.incoming_commands = {}
self.logger = logger
self.settings = settings