This commit is contained in:
= 2025-04-06 11:05:38 +07:00
parent f4725ab1b1
commit 82832d71e5

11
main.py
View File

@ -9,9 +9,8 @@ import logging
SquogServer = 1356433463854497944 SquogServer = 1356433463854497944
SquogToken = "MTM1NjU2MTY2MjQyOTM2ODQxMQ.G8aypc.CZBX-x6e4Oad3U5zO0nUgc02d9FDIDSNFybysI" SquogToken = "MTM1NjU2MTY2MjQyOTM2ODQxMQ.G8aypc.CZBX-x6e4Oad3U5zO0nUgc02d9FDIDSNFybysI"
SquogHelp = commands.HelpCommand() #command_attrs={"name", "help", "usage", "description"} client = commands.Bot(command_prefix="!", intents=nextcord.Intents.all())
client.remove_command("help")
client = commands.Bot(command_prefix="!", intents=nextcord.Intents.all(), help_command = SquogHelp)
SquogMod = None SquogMod = None
@ -43,6 +42,12 @@ SquogDownload = yt_dlp.YoutubeDL(SquogVideo)
# | |___| (_) | | | | | | | | | | | (_| | | | | (_| \__ \ # | |___| (_) | | | | | | | | | | | (_| | | | | (_| \__ \
# \_____\___/|_| |_| |_|_| |_| |_|\__,_|_| |_|\__,_|___/ # \_____\___/|_| |_| |_|_| |_| |_|\__,_|_| |_|\__,_|___/
@client.command()
async def help(ctx: nextcord.Message):
embed = nextcord.Embed(title="Help")
for command in client.get_application_commands():
print(command)
@client.command(description="Check how fast the bot will reply to you.", help="evil") @client.command(description="Check how fast the bot will reply to you.", help="evil")
async def ping(ctx: nextcord.Message): async def ping(ctx: nextcord.Message):
await ctx.reply("Pong!") await ctx.reply("Pong!")