Correct note on names and aliases

This commit is contained in:
gammafn 2021-05-12 13:39:48 -05:00
parent 7fc86fc30c
commit c1dff18c60
1 changed files with 3 additions and 2 deletions

View File

@ -828,10 +828,11 @@ class MatrixModule(BotModule):
def matrix_start(self, bot): def matrix_start(self, bot):
super().matrix_start(bot) super().matrix_start(bot)
self.add_module_aliases(bot, ['new_name', 'another_name']) self.add_module_aliases(bot, ['newname', 'anothername'])
``` ```
Then you can call this module with its original name, `!new_name`, or `!another_name` Then you can call this module with its original name, `!newname`, or `!another-name`.
(Like module names, Hemppa ignores non-alphanumeric characters in aliases.)
## Contributing ## Contributing