More Cogs
This commit is contained in:
parent
d8771ca7ba
commit
a09367b2ec
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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!")
|
||||||
|
|
||||||
|
|
||||||
|
1
main.py
1
main.py
@ -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]}')
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user