Commit 758849d4 authored by Tulir Asokan's avatar Tulir Asokan

Update use of new command handling system

parent 4c7bc0bf
......@@ -26,6 +26,6 @@ class EchoBot(Plugin):
await evt.reply(f"Pong! (ping took {self.time_since(evt.timestamp)} to arrive)")"echo", help="Repeat a message")
@command.argument("message", required=True)
@command.argument("message", pass_raw=True)
async def echo_handler(self, evt: MessageEvent, message: str) -> None:
await evt.respond(message)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment