mirror of
https://github.com/Nick80835/microbot
synced 2025-08-28 21:18:34 +00:00
restore _ command sep
This commit is contained in:
parent
1c082f17ab
commit
8b8c48d68e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user