fix(tweet): dual error messages

This commit is contained in:
neoarz
2025-10-07 22:52:06 -04:00
parent fae21eed44
commit 78f5e80b93
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ class Media(commands.GroupCog, name="media"):
content = message.content.lower() content = message.content.lower()
content_without_mention = content.replace(f'<@{self.bot.user.id}>', '').replace(f'<@!{self.bot.user.id}>', '').strip() 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) ctx = await self.bot.get_context(message)
await self.tweety(ctx) await self.tweety(ctx)

View File

@@ -289,7 +289,7 @@ def tweety_command():
color=0xE02B2B, color=0xE02B2B,
) )
embed.set_author(name="Media", icon_url="https://yes.nighty.works/raw/y5SEZ9.webp") 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 return
ny_tz = pytz.timezone('America/New_York') ny_tz = pytz.timezone('America/New_York')