Updat to interbot and fix highlight

This commit is contained in:
Florent Guiotte 2021-01-13 14:46:43 +00:00
parent b76f3b7923
commit 154cee9e0d

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python
# file covert_agent.py
# author Florent Guiotte <florent.guiotte@irisa.fr>
# version 0.1
# version 0.2
# date 16 avril 2020
"""
Place this file here (°° ~/.config/hexchat/addons
@ -11,10 +11,10 @@ import hexchat
import re
__module_name__ = 'CovertAgent'
__module_version__ = '0.1'
__module_version__ = '0.2'
__module_description__ = 'Display nicknames through discord bridge'
BRIDGE_NAME = 'CovertAgent'
BRIDGE_NAME = 'interbot'
edited = False
@ -41,3 +41,4 @@ def parse_nick(word, word_eol, userdata):
return hexchat.EAT_ALL
hexchat.hook_print('Channel Message', parse_nick, 'Channel Message', priority=hexchat.PRI_HIGHEST)
hexchat.hook_print('Channel Msg Hilight', parse_nick, 'Channel Msg Hilight', priority=hexchat.PRI_HIGHEST)