added regex for dice rolls

This commit is contained in:
2020-07-27 16:38:26 +03:00
parent c5a482c9b1
commit 42f0463e26
2 changed files with 12 additions and 8 deletions

View File

@@ -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)