added regex for dice rolls
This commit is contained in:
5
main.py
5
main.py
@@ -42,8 +42,9 @@ def public_message(kwargs):
|
||||
if 'message' in kwargs:
|
||||
if kwargs['message'][0] == '/':
|
||||
chatCommands.handle_command(kwargs)
|
||||
print(kwargs)
|
||||
sio.emit('public message', kwargs)
|
||||
else:
|
||||
print(kwargs)
|
||||
sio.emit('public message', kwargs)
|
||||
|
||||
if __name__ == '__main__':
|
||||
sio.run(app, port=5005)
|
||||
|
||||
Reference in New Issue
Block a user