mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 11:40:12 +01:00
fix(tweet): dual error messages
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user