From 4ec1568af6fc4b3d92c482e75b1e6c36248461fa Mon Sep 17 00:00:00 2001 From: hencaric Date: Sat, 14 Mar 2026 23:22:39 -0400 Subject: [PATCH] Corrected version info in info command --- pyproject.toml | 4 ++-- scnewsbot/bot.py | 18 +++++------------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index dbb9b4a..03cded8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "scnewsbot" -version = "3.0.1" -description = "A bot for the r/starcitizen Discord server." +version = "3.0.2" +description = "A news bot for the r/starcitizen Discord server." authors = ["hencaric"] license = "MIT" readme = "README.md" diff --git a/scnewsbot/bot.py b/scnewsbot/bot.py index 865815b..47ed921 100644 --- a/scnewsbot/bot.py +++ b/scnewsbot/bot.py @@ -5,7 +5,7 @@ import discord import datetime from utils import Config -VERSION = "1.0.4" +VERSION = "3.0.2" INTENTS = discord.Intents.default() INTENTS.message_content = True INTENTS.members = True @@ -19,7 +19,7 @@ class Bot(commands.Bot): allowed_mentions=discord.AllowedMentions(everyone=False), case_insensitive=True, activity=discord.Activity( - type=discord.ActivityType.watching, name="the devs..." + type=discord.ActivityType.watching, name="Writing some news!" ), ) self.config = config @@ -66,25 +66,17 @@ class CoreCog(commands.Cog, name="Core"): description="The SC News Bot is a bot created for the r/starcitizen Discord server to help with writing news posts.", ) embed.add_field( - name="Version", value=f"v{self.bot.version}+{self._get_version()}" + name="Version", value=f"v{self.bot.version}" ) embed.add_field( name="Library", value=f"discord.py v{discord.__version__}", inline=False ) embed.add_field( name="Authors", - value=f"<@288522211164160010> and <@998070081709932654>", + value=f"<@288522211164160010>", ) embed.add_field( name="Production Code", value=f"[Link](https://github.com/hencaric/SCNewsBot)", ) - view = discord.ui.View() - view.add_item( - discord.ui.Button( - label="Source Code for Public Use", - url="https://github.com/mudkipdev/scnewsbot", - style=discord.ButtonStyle.link, - ) - ) - await ctx.reply(embed=embed, view=view, mention_author=False) + await ctx.reply(embed=embed, mention_author=False)