mautrix / docs

Documentation for everything mautrix
https://docs.mau.fi
Creative Commons Attribution Share Alike 4.0 International
43 stars 53 forks source link

Maubot: Add word to listen to in decorator in getting-started tutorial #30

Closed tcassaert closed 2 years ago

tcassaert commented 2 years ago

When trying out the getting-started.md page, it didn't work out of the box.

I had to add @command.new("hello_world") instead of just @command.new().

tulir commented 2 years ago

The code is correct, but the doc after it is not, the command is actually !hello-world

tcassaert commented 2 years ago

You were right. It indeed works with the hyphen instead of the underscore. I've adapted my PR.