Updat to interbot and fix highlight
This commit is contained in:
parent
b76f3b7923
commit
154cee9e0d
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# file covert_agent.py
|
# file covert_agent.py
|
||||||
# author Florent Guiotte <florent.guiotte@irisa.fr>
|
# author Florent Guiotte <florent.guiotte@irisa.fr>
|
||||||
# version 0.1
|
# version 0.2
|
||||||
# date 16 avril 2020
|
# date 16 avril 2020
|
||||||
"""
|
"""
|
||||||
Place this file here (╯°□°)╯︵ ~/.config/hexchat/addons
|
Place this file here (╯°□°)╯︵ ~/.config/hexchat/addons
|
||||||
@ -11,10 +11,10 @@ import hexchat
|
|||||||
import re
|
import re
|
||||||
|
|
||||||
__module_name__ = 'CovertAgent'
|
__module_name__ = 'CovertAgent'
|
||||||
__module_version__ = '0.1'
|
__module_version__ = '0.2'
|
||||||
__module_description__ = 'Display nicknames through discord bridge'
|
__module_description__ = 'Display nicknames through discord bridge'
|
||||||
|
|
||||||
BRIDGE_NAME = 'CovertAgent'
|
BRIDGE_NAME = 'interbot'
|
||||||
|
|
||||||
edited = False
|
edited = False
|
||||||
|
|
||||||
@ -41,3 +41,4 @@ def parse_nick(word, word_eol, userdata):
|
|||||||
return hexchat.EAT_ALL
|
return hexchat.EAT_ALL
|
||||||
|
|
||||||
hexchat.hook_print('Channel Message', parse_nick, 'Channel Message', priority=hexchat.PRI_HIGHEST)
|
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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user