diff options
| author | 2022-10-02 17:14:23 +0100 | |
|---|---|---|
| committer | 2022-10-02 17:14:23 +0100 | |
| commit | f07d144c7ad2ac1eae62ce75d9c0557a26b6579e (patch) | |
| tree | 3dacae9666c448f5308fc3bc95e9bb90bbf14cd7 /bot/exts/utilities | |
| parent | Correct logic in `format_embed`. (diff) | |
| parent | Merge pull request #1111 from python-discord/fix-GH-1108 (diff) | |
Merge branch 'main' into fix-issue-1107
Diffstat (limited to 'bot/exts/utilities')
| -rw-r--r-- | bot/exts/utilities/epoch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utilities/epoch.py b/bot/exts/utilities/epoch.py index bf67067c..6f572640 100644 --- a/bot/exts/utilities/epoch.py +++ b/bot/exts/utilities/epoch.py @@ -119,7 +119,7 @@ class TimestampMenuView(discord.ui.View): self.dropdown.add_option(label=label, description=date_time) @discord.ui.select(placeholder="Select the format of your timestamp") - async def select_format(self, _: discord.ui.Select, interaction: discord.Interaction) -> discord.Message: + async def select_format(self, interaction: discord.Interaction, _: discord.ui.Select) -> discord.Message: """Drop down menu which contains a list of formats which discord timestamps can take.""" selected = interaction.data["values"][0] if selected == "Epoch": |