Send +draft/typing before processing command. WIP
This commit is contained in:
parent
35b97f836a
commit
6f27879d1b
1 changed files with 4 additions and 0 deletions
|
@ -133,6 +133,10 @@ class Module(ModuleManager.BaseModule):
|
|||
if self._is_ignored(server, user, command):
|
||||
return False
|
||||
|
||||
server.send(utils.irc.protocol.tagmsg(target.name,
|
||||
{"+draft/typing": "active"}), immediate=True)
|
||||
self.bot.trigger()
|
||||
|
||||
module_name = self._get_prefix(hook) or ""
|
||||
if not module_name and hasattr(hook.function, "__self__"):
|
||||
module_name = hook.function.__self__._name
|
||||
|
|
Loading…
Reference in a new issue