diff options
author | Livio Recchia <recchialivio@libero.it> | 2020-05-16 20:37:31 +0200 |
---|---|---|
committer | Livio Recchia <recchialivio@libero.it> | 2020-05-16 20:37:31 +0200 |
commit | b1723c304ebe82ac00c674efd86dbe4a7c3f3300 (patch) | |
tree | f4096994a2dd86a9971b749cf1574795f56d38c5 /plugins/xcom.py | |
parent | 49c13ccc556405915d7870ffb049b0b3dabf06ea (diff) | |
download | manachat-b1723c304ebe82ac00c674efd86dbe4a7c3f3300.tar.gz manachat-b1723c304ebe82ac00c674efd86dbe4a7c3f3300.tar.bz2 manachat-b1723c304ebe82ac00c674efd86dbe4a7c3f3300.tar.xz manachat-b1723c304ebe82ac00c674efd86dbe4a7c3f3300.zip |
Update
Diffstat (limited to 'plugins/xcom.py')
-rw-r--r-- | plugins/xcom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/xcom.py b/plugins/xcom.py index 05e174b..2ff00ba 100644 --- a/plugins/xcom.py +++ b/plugins/xcom.py @@ -20,7 +20,7 @@ from net.onlineusers import OnlineUsers __all__ = [ 'PLUGIN', 'init' ] PLUGIN = { - 'name': 'manaboy', + 'name': 'xcom', 'requires': ['chatbot'], 'blocks': (), } @@ -122,7 +122,7 @@ def XCOMCommunicate(nick, message, is_whisper, match): return #or say something if message[0]=="!": return - if message.startswith("*AFK*:"): # AFK bug workaround + if message.startswith("*AFK*:") or message.startswith("WARNING :"): # AFK and WARNING bug workaround return if nick in XCOMList: for nicks in XCOMList: |