Removed echo command and bumped version number.
This commit is contained in:
@@ -3,4 +3,3 @@ A simple [maubot](https://github.com/maubot/maubot) that echoes pings and other
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
* `!ping` - Reply with "Pong!" and the time it took for the message to reach the bot.
|
* `!ping` - Reply with "Pong!" and the time it took for the message to reach the bot.
|
||||||
* `!echo <message>` - Reply with the given message
|
|
||||||
|
|||||||
5
echo.py
5
echo.py
@@ -60,8 +60,3 @@ class EchoBot(Plugin):
|
|||||||
"ping": evt.event_id,
|
"ping": evt.event_id,
|
||||||
}
|
}
|
||||||
await evt.respond(content)
|
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)
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
maubot: 0.1.0
|
maubot: 0.1.0
|
||||||
id: xyz.maubot.echo
|
id: xyz.maubot.echo
|
||||||
version: 1.4.0
|
version: 1.4.1
|
||||||
license: MIT
|
license: MIT
|
||||||
modules:
|
modules:
|
||||||
- echo
|
- echo
|
||||||
|
|||||||
Reference in New Issue
Block a user