added deck.chat modules
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ class DeckChat:
|
||||
"""Start the chat loop"""
|
||||
while True:
|
||||
try:
|
||||
input_msg = input('\n' + self.chat_prefix).strip()
|
||||
input_msg = input(self.chat_prefix).strip()
|
||||
cmd, msg = self._detect_command(input_msg)
|
||||
output, self.state = self.command_handlers[cmd](msg, self.state)
|
||||
if self.paginate_n > 0:
|
||||
|
||||
Reference in New Issue
Block a user