mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-05-21 02:44:57 +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
37
Bot/lynxie/commands/help.py
Normal file
37
Bot/lynxie/commands/help.py
Normal file
|
@ -0,0 +1,37 @@
|
|||
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)
|
Loading…
Add table
Add a link
Reference in a new issue