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