Removed echo command and bumped version number.

This commit is contained in:
2025-04-21 15:25:34 -04:00
parent 55ea03df06
commit 695a91cad4
3 changed files with 1 additions and 7 deletions

View File

@@ -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 <message>` - Reply with the given message

View File

@@ -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)

View File

@@ -1,6 +1,6 @@
maubot: 0.1.0
id: xyz.maubot.echo
version: 1.4.0
version: 1.4.1
license: MIT
modules:
- echo