move client stuff to new command processor

This commit is contained in:
Fabian Dill 2020-04-14 20:26:22 +02:00
parent af78914d22
commit 3b719220f8
1 changed files with 3 additions and 0 deletions

View File

@ -407,6 +407,9 @@ class ClientMessageProcessor(CommandProcessor):
def output(self, text): def output(self, text):
notify_client(self.client, text) notify_client(self.client, text)
def default(self, raw: str):
pass # default is client sending just text
def _cmd_players(self): def _cmd_players(self):
"""Get information about connected and missing players""" """Get information about connected and missing players"""
notify_all(self.ctx, get_connected_players_string(self.ctx)) notify_all(self.ctx, get_connected_players_string(self.ctx))