From d245b2195fef935324d6411fe921b0ce3c5500de Mon Sep 17 00:00:00 2001 From: stijndcl Date: Mon, 29 Aug 2022 18:26:30 +0200 Subject: [PATCH] Fix typing --- didier/utils/discord/menus/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/didier/utils/discord/menus/common.py b/didier/utils/discord/menus/common.py index c308cc2..983723d 100644 --- a/didier/utils/discord/menus/common.py +++ b/didier/utils/discord/menus/common.py @@ -109,7 +109,7 @@ class Menu(discord.ui.View): if interaction is not None: await interaction.response.edit_message(view=self) - else: + elif self.message is not None: await self.message.edit(view=self) @overrides