Handle /me and /describe cases

main
Eragon 7 months ago
parent 38a91b77b7
commit ccebb6b410
Signed by: Eragon
GPG Key ID: 087126EBFC725006
  1. 2
      shoutbox.py

@ -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…
Cancel
Save