From cc4d4614ff5c794c823b640dd2af90f9da049400 Mon Sep 17 00:00:00 2001 From: Soheab_ <33902984+Soheab@users.noreply.github.com> Date: Thu, 28 Aug 2025 18:58:32 +0200 Subject: [PATCH] verify_checks can be bool | None as documented --- discord/ext/commands/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ext/commands/help.py b/discord/ext/commands/help.py index 3731ec649..10648b4cc 100644 --- a/discord/ext/commands/help.py +++ b/discord/ext/commands/help.py @@ -394,7 +394,7 @@ class HelpCommand: def __init__(self, **options: Unpack[_HelpCommandOptions]) -> None: self.show_hidden: bool = options.pop('show_hidden', False) - self.verify_checks: bool = options.pop('verify_checks', True) + self.verify_checks: Optional[bool] = options.pop('verify_checks', True) self.command_attrs = attrs = options.pop('command_attrs', {}) attrs.setdefault('name', 'help') attrs.setdefault('help', 'Shows this message')