mirror of
https://github.com/miaowware/qrm2.git
synced 2025-04-29 15:01:00 -04:00
fix issue with help command/categories
This commit is contained in:
parent
c3f002a9df
commit
abf79b844e
@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
|
||||
|
||||
## [Unreleased]
|
||||
### Fixed
|
||||
- Issue where `?help` might not work for all people.
|
||||
|
||||
|
||||
## [2.7.1] - 2021-04-12
|
||||
|
@ -50,7 +50,8 @@ class QrmHelpCommand(commands.HelpCommand):
|
||||
ret.sort(key=lambda c: c.__original_kwargs__["category"].name)
|
||||
|
||||
for cat in cmn.BoltCats:
|
||||
ret += sorted(bolt_cmds[cat], key=lambda c: c.name)
|
||||
if cat in bolt_cmds:
|
||||
ret += sorted(bolt_cmds[cat], key=lambda c: c.name)
|
||||
|
||||
return ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user