mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-05-18 01:14:55 +00:00
Add more commands
This commit is contained in:
parent
ca8813cdc0
commit
cea527ae79
3 changed files with 78 additions and 0 deletions
10
lynxie/commands/ping.py
Normal file
10
lynxie/commands/ping.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
from discord.ext import commands
|
||||
|
||||
|
||||
class Ping(commands.Cog):
|
||||
def __init__(self, bot):
|
||||
self.bot = bot
|
||||
|
||||
@commands.command()
|
||||
async def ping(self, ctx):
|
||||
await ctx.send(f"Pong! {round(self.bot.latency * 1000)}ms")
|
Loading…
Add table
Add a link
Reference in a new issue