Reference

CommandHandler

See also

The another way to handle bot’s commands is to use a @bot.command decorator botx.bot.router.CommandRouter.command()