aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/exts/cloudflare/zones.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-08-21 22:16:26 +0100
committerGravatar Chris Lovering <[email protected]>2022-08-21 22:27:59 +0100
commit083ceebfadfbf88752fb1b50bf0c86feff94875e (patch)
tree9ec8d5c0bbc4cfcb8fc4427ab5d2daef9de44294 /arthur/exts/cloudflare/zones.py
parentMove to async cog loading (diff)
Update ordering of Interaction callbacks
The order the args get passed to callbacks has been changed in Discord.py 2.0.
Diffstat (limited to 'arthur/exts/cloudflare/zones.py')
-rw-r--r--arthur/exts/cloudflare/zones.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/arthur/exts/cloudflare/zones.py b/arthur/exts/cloudflare/zones.py
index f265651..657de71 100644
--- a/arthur/exts/cloudflare/zones.py
+++ b/arthur/exts/cloudflare/zones.py
@@ -31,7 +31,7 @@ class ZonesView(discord.ui.View):
placeholder="Select a zone to purge...",
)
async def select_zones(
- self, dropdown: discord.ui.Select, interaction: discord.Interaction
+ self, interaction: discord.Interaction, dropdown: discord.ui.Select
) -> None:
"""Drop down menu contains the list of zones."""
zone_name = dropdown.values[0]