More Cogs

This commit is contained in:
= 2025-04-06 12:18:35 +07:00
parent d8771ca7ba
commit a09367b2ec
7 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -13,7 +13,7 @@ class Main():
await ctx.reply(embed=embed) await ctx.reply(embed=embed)
@commands.command(description="Check how fast the bot will reply to you.") @commands.command(description="Check how fast the bot will reply to you.")
async def ping(ctx: nextcord.Message): async def ping(self, ctx: nextcord.Message):
await ctx.reply("Pong!") await ctx.reply("Pong!")

View File

@ -12,6 +12,7 @@ SquogMod = None
for filename in os.listdir('./commands'): for filename in os.listdir('./commands'):
if filename.endswith('.py'): if filename.endswith('.py'):
print(filename)
client.load_extension(f'commands.{filename[:-3]}') client.load_extension(f'commands.{filename[:-3]}')