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: