From 7955035b3b3a40f73966f56307ac862a40fe26d7 Mon Sep 17 00:00:00 2001 From: neoarz Date: Thu, 16 Oct 2025 17:52:05 -0400 Subject: [PATCH] chore(botinfo): mention /help to get started --- cogs/botinfo.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/cogs/botinfo.py b/cogs/botinfo.py index a52d95c..8777e51 100644 --- a/cogs/botinfo.py +++ b/cogs/botinfo.py @@ -4,6 +4,8 @@ from discord import app_commands from discord.ext import commands from discord.ext.commands import Context from datetime import datetime +import time +import pytz class FeedbackForm(discord.ui.Modal, title="Feedback"): @@ -89,10 +91,12 @@ class BotInfo(commands.Cog, name="botinfo"): ) if channel: - current_time = datetime.now().strftime("%m/%d/%y, %I:%M %p") + ny_tz = pytz.timezone('America/New_York') + current_time = datetime.now(ny_tz).strftime("%m/%d/%y, %I:%M %p") description_text = ( "Heyooo! Im Syntrel, a bot made to help with [SideStore](https://discord.gg/3DwCwpBHfv), [MeloNX](https://discord.gg/Q4VkbkYfmk), and [idevice](https://discord.gg/ZnNcrRT3M8). I even have some cool extras! If you encounter any issues, please file a bug report. If you have any feedback or suggestions, simply select \"Feedback\"! <:HeardPanda:1417619745896660992>\n\n" + "**New to Syntrel?** Run `/help` to get started and explore all available commands!\n\n" f"**Owner:** [neoarz](https://discordapp.com/users/1015372540937502851)\n" f"**Python Version:** {platform.python_version()}\n" f"**Prefix:** / (Slash Commands) or {self.bot.bot_prefix} for normal commands" @@ -120,10 +124,12 @@ class BotInfo(commands.Cog, name="botinfo"): @app_commands.allowed_contexts(guilds=True, dms=True, private_channels=True) @app_commands.allowed_installs(guilds=True, users=True) async def botinfo(self, context: Context) -> None: - current_time = datetime.now().strftime("%m/%d/%y, %I:%M %p") + ny_tz = pytz.timezone('America/New_York') + current_time = datetime.now(ny_tz).strftime("%m/%d/%y, %I:%M %p") description_text = ( "Heyooo! Im Syntrel, a bot made to help with [SideStore](https://discord.gg/3DwCwpBHfv), [MeloNX](https://discord.gg/Q4VkbkYfmk), and [idevice](https://discord.gg/ZnNcrRT3M8). I even have some cool extras! If you encounter any issues, please file a bug report. If you have any feedback or suggestions, simply select \"Feedback\"! <:HeardPanda:1417619745896660992>\n\n" + "**New to Syntrel?** Run `/help` to get started and explore all available commands!\n\n" f"**Owner:** [neoarz](https://discordapp.com/users/1015372540937502851)\n" f"**Python Version:** {platform.python_version()}\n" f"**Prefix:** / (Slash Commands) or {self.bot.bot_prefix} for normal commands"