From b9f27ede7879a446ce58f12ab89f5c7c67e744ae Mon Sep 17 00:00:00 2001 From: Ritik Ranjan Date: Thu, 6 Jul 2023 17:11:56 +0530 Subject: Fix type hint (#1314) --- bot/exts/utilities/epoch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/exts/utilities/epoch.py') diff --git a/bot/exts/utilities/epoch.py b/bot/exts/utilities/epoch.py index d1ba98bb..1f65b935 100644 --- a/bot/exts/utilities/epoch.py +++ b/bot/exts/utilities/epoch.py @@ -118,7 +118,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, interaction: discord.Interaction, _: discord.ui.Select) -> discord.Message: + async def select_format(self, interaction: discord.Interaction, _: discord.ui.Select) -> None: """Drop down menu which contains a list of formats which discord timestamps can take.""" selected = interaction.data["values"][0] if selected == "Epoch": -- cgit v1.2.3