mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 03:40:11 +01:00
chore(botinfo): mention /help to get started
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user