Files
aquabot/cogs/help.py
2020-01-24 15:41:14 +00:00

33 lines
668 B
Python

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