From 695a91cad4c138f8e7572b1906d7fd92c0aa60b9 Mon Sep 17 00:00:00 2001 From: Logan Fick Date: Mon, 21 Apr 2025 15:25:34 -0400 Subject: [PATCH] Removed echo command and bumped version number. --- README.md | 1 - echo.py | 5 ----- maubot.yaml | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 383b0f5..bb3b052 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,3 @@ A simple [maubot](https://github.com/maubot/maubot) that echoes pings and other ## Usage * `!ping` - Reply with "Pong!" and the time it took for the message to reach the bot. -* `!echo ` - Reply with the given message diff --git a/echo.py b/echo.py index 045129b..39e20ff 100644 --- a/echo.py +++ b/echo.py @@ -60,8 +60,3 @@ class EchoBot(Plugin): "ping": evt.event_id, } await evt.respond(content) - - @command.new("echo", help="Repeat a message") - @command.argument("message", pass_raw=True) - async def echo_handler(self, evt: MessageEvent, message: str) -> None: - await evt.respond(message) diff --git a/maubot.yaml b/maubot.yaml index 4ea7c73..cc2fc60 100644 --- a/maubot.yaml +++ b/maubot.yaml @@ -1,6 +1,6 @@ maubot: 0.1.0 id: xyz.maubot.echo -version: 1.4.0 +version: 1.4.1 license: MIT modules: - echo