added deck.chat modules

This commit is contained in:
Luxferre
2025-12-20 21:26:07 +02:00
parent 1cea8cc7d2
commit 037a7e8cf8
+1
View File
@@ -25,6 +25,7 @@ class DeckChat:
Register a new handler inside the chat instance.
The handler accepts two parameters: a message and a state object,
and returns the response and the new state object.
If the returned state object is None, then the chat loop exits.
Non-command handler is registered under the 'default' command.
"""
cmd = command.strip().lower()