mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 03:40:11 +01:00
refactor(general): new author image
Replaced the embed author icon URLs from 'y5SEZ9.webp' to 'gSxqzV.png' across botinfo, feedback, ping, serverinfo, and uptime cogs for consistency and to use the new image.
This commit is contained in:
@@ -12,7 +12,7 @@ def botinfo_command():
|
||||
title="Syntrel Discord Bot",
|
||||
color=0x7289DA,
|
||||
)
|
||||
embed.set_author(name="Bot Information", icon_url="https://yes.nighty.works/raw/y5SEZ9.webp")
|
||||
embed.set_author(name="Bot Information", icon_url="https://yes.nighty.works/raw/gSxqzV.png")
|
||||
embed.add_field(name="Owner:", value="[neoarz](https://discordapp.com/users/1015372540937502851)", inline=True)
|
||||
embed.add_field(
|
||||
name="Python Version:", value=f"{platform.python_version()}", inline=True
|
||||
|
||||
@@ -31,7 +31,7 @@ def feedback_command():
|
||||
title="Thank You!",
|
||||
description="Your feedback has been submitted, the owners have been notified about it.",
|
||||
color=0x7289DA,
|
||||
).set_author(name="Feedback System", icon_url="https://yes.nighty.works/raw/y5SEZ9.webp"),
|
||||
).set_author(name="Feedback System", icon_url="https://yes.nighty.works/raw/gSxqzV.png"),
|
||||
ephemeral=True,
|
||||
)
|
||||
|
||||
@@ -41,7 +41,7 @@ def feedback_command():
|
||||
title="New Feedback",
|
||||
description=f"{interaction.user} (<@{interaction.user.id}>) has submitted a new feedback:\n```\n{feedback_form.answer}\n```",
|
||||
color=0x7289DA,
|
||||
).set_author(name="Feedback System", icon_url="https://yes.nighty.works/raw/y5SEZ9.webp")
|
||||
).set_author(name="Feedback System", icon_url="https://yes.nighty.works/raw/gSxqzV.png")
|
||||
)
|
||||
|
||||
return feedback
|
||||
@@ -12,7 +12,7 @@ def ping_command():
|
||||
description=f"The bot latency is {round(self.bot.latency * 1000)}ms.",
|
||||
color=0x7289DA,
|
||||
)
|
||||
embed.set_author(name="Ping", icon_url="https://yes.nighty.works/raw/y5SEZ9.webp")
|
||||
embed.set_author(name="Ping", icon_url="https://yes.nighty.works/raw/gSxqzV.png")
|
||||
if getattr(context, "interaction", None):
|
||||
inter = context.interaction
|
||||
if not inter.response.is_done():
|
||||
|
||||
@@ -23,7 +23,7 @@ def serverinfo_command():
|
||||
title="**Server Name:**",
|
||||
description=f"{context.guild}",
|
||||
color=0x7289DA
|
||||
).set_author(name="Server Information", icon_url="https://yes.nighty.works/raw/y5SEZ9.webp")
|
||||
).set_author(name="Server Information", icon_url="https://yes.nighty.works/raw/gSxqzV.png")
|
||||
|
||||
if context.guild.icon is not None:
|
||||
embed.set_thumbnail(url=context.guild.icon.url)
|
||||
|
||||
@@ -13,7 +13,7 @@ class UptimeView(discord.ui.View):
|
||||
description=f"The bot has been running for {self.bot.get_uptime()}",
|
||||
color=0x7289DA,
|
||||
)
|
||||
embed.set_author(name="Uptime", icon_url="https://yes.nighty.works/raw/y5SEZ9.webp")
|
||||
embed.set_author(name="Uptime", icon_url="https://yes.nighty.works/raw/gSxqzV.png")
|
||||
await interaction.response.edit_message(embed=embed, view=self)
|
||||
|
||||
def uptime_command():
|
||||
@@ -27,7 +27,7 @@ def uptime_command():
|
||||
description=f"The bot has been running for **{self.bot.get_uptime()}**",
|
||||
color=0x7289DA,
|
||||
)
|
||||
embed.set_author(name="Uptime", icon_url="https://yes.nighty.works/raw/y5SEZ9.webp")
|
||||
embed.set_author(name="Uptime", icon_url="https://yes.nighty.works/raw/gSxqzV.png")
|
||||
view = UptimeView(self.bot)
|
||||
if getattr(context, "interaction", None):
|
||||
inter = context.interaction
|
||||
|
||||
Reference in New Issue
Block a user