mirror of
https://github.com/FAUSheppy/config
synced 2025-12-06 23:21:34 +01:00
msg now only push with magic word
This commit is contained in:
@@ -87,6 +87,8 @@ def irc():
|
||||
return ""
|
||||
msg = " ".join(tmp[-1].split(" ")[2:])[:50]
|
||||
user = tmp[-1].split(" ")[1][:15]
|
||||
if not "%push" in msg:
|
||||
return ""
|
||||
ret_string = "MSG FROM: "+user+"-> "+msg.rstrip('\n')+" - [ "+str(len(tmp))+" total ]"
|
||||
return color_panel(ret_string,RED)
|
||||
except(IOError):
|
||||
|
||||
Reference in New Issue
Block a user