mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-07-04 23:36:20 +00:00
Add Dockerfile
Update blacklist Clean up e621 code
This commit is contained in:
parent
dbe660ded9
commit
d28a759f8e
24 changed files with 119 additions and 37 deletions
16
Bot/lynxie/commands/ping.py
Normal file
16
Bot/lynxie/commands/ping.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
import discord
|
||||
from discord.ext import commands
|
||||
|
||||
|
||||
class Ping(commands.Cog):
|
||||
def __init__(self, bot):
|
||||
self.bot = bot
|
||||
|
||||
@commands.command()
|
||||
async def ping(self, ctx):
|
||||
embed = discord.Embed(
|
||||
title="Pong!",
|
||||
description=f"{round(self.bot.latency * 1000)}ms",
|
||||
color=discord.Color.orange(),
|
||||
)
|
||||
await ctx.reply(embed=embed, mention_author=False)
|
Loading…
Add table
Add a link
Reference in a new issue