Add more commands

This commit is contained in:
Michał Gdula 2023-09-07 18:20:00 +01:00
parent ca8813cdc0
commit cea527ae79
3 changed files with 78 additions and 0 deletions

10
lynxie/commands/ping.py Normal file
View 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")