1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

Added a custom help command

This commit is contained in:
Phxntxm 2016-11-10 21:02:51 -06:00
parent d0effedc6a
commit 1018f1c3fa

View file

@ -18,6 +18,13 @@ class Core:
def __init__(self, bot):
self.bot = bot
@commands.command()
@checks.custom_perms(send_messages=True)
async def help(self):
"""This command is used to provide a link to the help URL"""
fmt = "This URL can be used to view information about all commands: <{}>".format(config.help_url)
await self.bot.say(fmt)
@commands.command()
@checks.custom_perms(send_messages=True)
async def motd(self, *, date=None):