mirror of
https://github.com/Nick80835/microbot
synced 2025-08-29 05:29:16 +00:00
restore _ command sep
This commit is contained in:
parent
1c082f17ab
commit
8b8c48d68e
@ -7,7 +7,7 @@ from telethon import events
|
|||||||
|
|
||||||
class CommandHandler():
|
class CommandHandler():
|
||||||
def __init__(self, client, logger, settings):
|
def __init__(self, client, logger, settings):
|
||||||
self.pattern_template = "(?is)^{0}{1}(?: |$)(.*)"
|
self.pattern_template = "(?is)^{0}{1}(?: |$|_)(.*)"
|
||||||
self.incoming_commands = {}
|
self.incoming_commands = {}
|
||||||
self.logger = logger
|
self.logger = logger
|
||||||
self.settings = settings
|
self.settings = settings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user