be a bad person and swallow all command handling errors for now

This commit is contained in:
Christine Dodrill 2015-11-28 22:48:34 -08:00
parent aa64273ee8
commit 5590b88a17
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
import fuckit
import os
import sys
import traceback
@ -35,6 +36,7 @@ token = client.login_with_password(username=config["me"]["user"], password=confi
rooms = client.get_rooms()
@fuckit
def room_callback(event):
room = rooms[event[u'room_id']]
if u'user_id' in event and event[u'type'] == "m.room.message":