fix ping
This commit is contained in:
parent
e922cedf9e
commit
3aa4595aa9
1 changed files with 4 additions and 4 deletions
8
main.py
8
main.py
|
@ -16,10 +16,10 @@ class Vaius(commands.Bot):
|
||||||
if ctx.valid:
|
if ctx.valid:
|
||||||
await self.invoke(ctx)
|
await self.invoke(ctx)
|
||||||
|
|
||||||
@Vaius.command
|
|
||||||
async def ping(self, ctx):
|
|
||||||
await ctx.reply("Pong!")
|
|
||||||
|
|
||||||
client = Vaius(command_prefix="v", user_bot=True, chunk_guilds_at_startup=False)
|
client = Vaius(command_prefix="v", user_bot=True, chunk_guilds_at_startup=False)
|
||||||
|
|
||||||
|
@client.command()
|
||||||
|
async def ping(ctx):
|
||||||
|
await ctx.reply("Pong!")
|
||||||
|
|
||||||
client.run(os.getenv("TOKEN"))
|
client.run(os.getenv("TOKEN"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue