First working version
This commit is contained in:
10
cogs/help.py
10
cogs/help.py
@@ -4,7 +4,7 @@
|
||||
# https://discordpy.readthedocs.io/en/latest/ext/commands/cogs.html
|
||||
#
|
||||
|
||||
# IMPORTS
|
||||
# IMPORTS - exter
|
||||
import discord
|
||||
from discord.ext import commands
|
||||
|
||||
@@ -15,17 +15,17 @@ class HelpCog(commands.Cog):
|
||||
|
||||
# COG BODY
|
||||
@commands.command(
|
||||
name="aquabot"
|
||||
name="aquabot",
|
||||
description="Prints a short help for new users"
|
||||
)
|
||||
async def aquabot(self, ctx):
|
||||
|
||||
await ctx.send("""
|
||||
I'm the usele... divine AquaBot!\n
|
||||
If you need help, try using the `help` command!\n
|
||||
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))
|
||||
bot.add_cog(HelpCog(bot))
|
||||
Reference in New Issue
Block a user