Lynxie/Bot/lynxie/commands/help.py
Fluffy-Bean d28a759f8e Add Dockerfile
Update blacklist
Clean up e621 code
2023-09-12 11:32:34 +01:00

37 lines
1.2 KiB
Python

import discord
from discord.ext import commands
from lynxie.config import LYNXIE_PREFIX
class Help(commands.Cog):
def __init__(self, bot):
self.bot = bot
self.help_commands = {
"help": "Show this message",
"ping": "Pong!",
"hello": "Say hello to Lynxie!",
"join": "Join the voice channel you're in",
"play <url>": "Play a song from YouTube, SoundCloud, etc.",
"stop": "Stop the current song and leave the voice channel",
"animal <animal>": "Get a random image of an animal!",
"overlay <image> <style>": "Overlay an image with a "
"style, e.g. `bubble mask`",
"saveable": "Turn image into a GIF to save within Discord",
}
@commands.command()
async def help(self, ctx):
embed = discord.Embed(
title="Help",
description=f"Lynxie's prefix is `{LYNXIE_PREFIX}`",
colour=discord.Colour.orange(),
)
for command, description in self.help_commands.items():
embed.add_field(
name=command,
value=description,
inline=False,
)
await ctx.reply(embed=embed)