From 1e2cc628ac33b6a783fb058f88cec7a412f6a135 Mon Sep 17 00:00:00 2001 From: insert Date: Sun, 11 Aug 2024 13:24:39 -0400 Subject: [PATCH] Update --- speechbubble.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speechbubble.py b/speechbubble.py index 360c6ca..4513500 100644 --- a/speechbubble.py +++ b/speechbubble.py @@ -86,7 +86,7 @@ class ApplicationModal(nextcord.ui.Modal): ) print(self.image.value) if urlparse(self.image.value).netloc != 'media.discordapp.net' and urlparse(self.image.value).netloc != 'cdn.discordapp.com': - await interaction.send_message(f"for security reasons, the bot only accepts images from media.discordapp.net or cdn.discordapp.com", ephemeral=True) + await interaction.send(f"for security reasons, the bot only accepts images from media.discordapp.net or cdn.discordapp.com", ephemeral=True) return async with aiohttp.ClientSession() as session: async with session.get(self.image.value) as response: