Browse Source

[commands] Add fallback behaviour for CurrentGuild parameter

pull/9522/head
Rapptz 2 years ago
parent
commit
a361a08482
  1. 1
      discord/ext/commands/parameters.py

1
discord/ext/commands/parameters.py

@ -306,6 +306,7 @@ CurrentGuild = parameter(
displayed_default='<this server>',
converter=GuildConverter,
)
CurrentGuild._fallback = True
class Signature(inspect.Signature):

Loading…
Cancel
Save