aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadir Chowdhury <[email protected]>2021-02-25 02:15:10 +0000
committerGitHub <[email protected]>2021-02-24 21:15:10 -0500
commite090ee4308cee9eedace58bf2db3ee29b010f2fa (patch)
tree06a359751faa95dfdd0a154acdd62ed3a364a062
parentAllow for callable class factories in abc.Connectable.connect (diff)
downloaddiscord.py-e090ee4308cee9eedace58bf2db3ee29b010f2fa.tar.xz
discord.py-e090ee4308cee9eedace58bf2db3ee29b010f2fa.zip
Fix NameError with invoked_parents
-rw-r--r--discord/ext/commands/context.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/ext/commands/context.py b/discord/ext/commands/context.py
index 3bd27ea8..8af9c5e8 100644
--- a/discord/ext/commands/context.py
+++ b/discord/ext/commands/context.py
@@ -183,6 +183,7 @@ class Context(discord.abc.Messageable):
index, previous = view.index, view.previous
invoked_with = self.invoked_with
invoked_subcommand = self.invoked_subcommand
+ invoked_parents = self.invoked_parents
subcommand_passed = self.subcommand_passed
if restart: