Files
aquabot/cogs/help.py
2020-01-18 04:13:57 +01:00

31 lines
659 B
Python

#
# Cog for a custom Help Command
#
# https://discordpy.readthedocs.io/en/latest/ext/commands/cogs.html
#
# IMPORTS - exter
import discord
from discord.ext import commands
# COG INIT
class HelpCog(commands.Cog):
def __init__(self, bot):
self.bot = bot
# COG BODY
@commands.command(
name="aquabot",
description="Prints a short help for new users"
)
async def aquabot(self, ctx):
await ctx.send("""
I'm the usele... divine AquaBot!
If you need help, try using the `help` command!
""")
# COG ENDING
def setup(bot):
bot.add_cog(HelpCog(bot))