Added a custom help command
This commit is contained in:
parent
d0effedc6a
commit
1018f1c3fa
1 changed files with 7 additions and 0 deletions
|
@ -18,6 +18,13 @@ class Core:
|
||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.bot = 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()
|
@commands.command()
|
||||||
@checks.custom_perms(send_messages=True)
|
@checks.custom_perms(send_messages=True)
|
||||||
async def motd(self, *, date=None):
|
async def motd(self, *, date=None):
|
||||||
|
|
Loading…
Reference in a new issue