From a361a08482c6e0ca747e3bad340f91a5b6de7845 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 1 Aug 2023 18:15:36 -0400 Subject: [PATCH] [commands] Add fallback behaviour for CurrentGuild parameter --- discord/ext/commands/parameters.py | 1 + 1 file changed, 1 insertion(+) diff --git a/discord/ext/commands/parameters.py b/discord/ext/commands/parameters.py index d8023e202..70df39534 100644 --- a/discord/ext/commands/parameters.py +++ b/discord/ext/commands/parameters.py @@ -306,6 +306,7 @@ CurrentGuild = parameter( displayed_default='', converter=GuildConverter, ) +CurrentGuild._fallback = True class Signature(inspect.Signature):