diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d0b52b..e156b86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/exts/base.py b/exts/base.py index a0fce90..2a844f0 100644 --- a/exts/base.py +++ b/exts/base.py @@ -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