Skip to content

Commit eef296a

Browse files
committed
Add ultra-important business logic
1 parent b940e8b commit eef296a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

messages.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@ def message_handler(self, data):
123123
data["user_name"], "Please stop posting links.",
124124
method="whisper")
125125

126+
if parsed == "/cry":
127+
self.remove_message(data["channel"], data["id"])
128+
return self.send_message("/me cries with {} :'(".format(
129+
data["user_name"]))
130+
126131
if len(parsed) > 1 and parsed[0].startswith("!"):
127132
args = parsed.split()
128133

0 commit comments

Comments
 (0)