From 78f5e80b9396a89f69c2bcd3bf08e76fa34364a8 Mon Sep 17 00:00:00 2001 From: neoarz Date: Tue, 7 Oct 2025 22:52:06 -0400 Subject: [PATCH] fix(tweet): dual error messages --- cogs/media/__init__.py | 2 +- cogs/media/tweety.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/media/__init__.py b/cogs/media/__init__.py index beb217c..c3acee5 100644 --- a/cogs/media/__init__.py +++ b/cogs/media/__init__.py @@ -34,7 +34,7 @@ class Media(commands.GroupCog, name="media"): content = message.content.lower() content_without_mention = content.replace(f'<@{self.bot.user.id}>', '').replace(f'<@!{self.bot.user.id}>', '').strip() - if 'tweety' in content_without_mention: + if content_without_mention.strip() == 'tweety': ctx = await self.bot.get_context(message) await self.tweety(ctx) diff --git a/cogs/media/tweety.py b/cogs/media/tweety.py index 153f12b..a11ab10 100644 --- a/cogs/media/tweety.py +++ b/cogs/media/tweety.py @@ -289,7 +289,7 @@ def tweety_command(): color=0xE02B2B, ) embed.set_author(name="Media", icon_url="https://yes.nighty.works/raw/y5SEZ9.webp") - await context.send(embed=embed, ephemeral=True) + await context.send(embed=embed) return ny_tz = pytz.timezone('America/New_York')