Handle /me and /describe cases
This commit is contained in:
parent
38a91b77b7
commit
ccebb6b410
|
@ -49,6 +49,8 @@ class Shoutbox(object):
|
|||
return callback
|
||||
|
||||
def post(self, user, msg, channel, users):
|
||||
if msg.startswith("ACTION"):
|
||||
msg = msg.replace("ACTION", "/me")
|
||||
if any(user in t for t in users):
|
||||
for i in users:
|
||||
if i[1] == user:
|
||||
|
|
Loading…
Reference in New Issue