From c728aa9f55fa9c034745f5e99255b5a9142ddbef Mon Sep 17 00:00:00 2001 From: Kozejin <2613841+dkoz@users.noreply.github.com> Date: Wed, 4 Sep 2024 11:06:15 -0400 Subject: [PATCH] Version Control --- cogs/help.py | 6 ++++-- utils/constants.py | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cogs/help.py b/cogs/help.py index 57796f2..83a2485 100644 --- a/cogs/help.py +++ b/cogs/help.py @@ -70,9 +70,11 @@ async def help(self, interaction: nextcord.Interaction): # Please do not remove the about me section. I've spent a lot of time on this bot and I would appreciate it if you left it in. @nextcord.slash_command(description="Information about the Palworld bot.") async def about(self, interaction: nextcord.Interaction): - + + title_name = f"Palworld Palbot {constants.PALBOT_VERSION}" + embed = nextcord.Embed( - title="Palworld Bot", color=nextcord.Color.blue(), url=constants.TITLE_URL + title=title_name, color=nextcord.Color.blue(), url=constants.TITLE_URL ) embed.set_footer(text=constants.FOOTER_TEXT, icon_url=constants.FOOTER_IMAGE) embed.add_field( diff --git a/utils/constants.py b/utils/constants.py index 0cf4fad..8d0ab9f 100644 --- a/utils/constants.py +++ b/utils/constants.py @@ -2,6 +2,7 @@ FOOTER_IMAGE = "https://palbot.gg/images/rexavatar.png" FOOTER_TEXT = "Powered by Palbot" TITLE_URL = "https://github.com/dkoz/palworld-palbot" +PALBOT_VERSION = "v0.3.2" PALBOT_ART = r""" __________ .__ ___. __ \______ \_____ | |\_ |__ _____/ |_