Added the aliases to the right method this time
This commit is contained in:
parent
7969d65578
commit
ff3d62093a
|
@ -55,8 +55,8 @@ class Core:
|
|||
"""Provides a printout of the current bot's uptime"""
|
||||
await self.bot.say("Uptime: ```\n{}```".format((pendulum.utcnow() - self.bot.uptime).in_words()))
|
||||
|
||||
@commands.command()
|
||||
@checks.customPermsOrRole(aliases=['invite'], send_messages=True)
|
||||
@commands.command(aliases=['invite'])
|
||||
@checks.customPermsOrRole(send_messages=True)
|
||||
async def addbot(self):
|
||||
"""Provides a link that you can use to add me to a server"""
|
||||
perms = discord.Permissions.none()
|
||||
|
|
Loading…
Reference in a new issue