1
0
Fork 0
mirror of synced 2024-06-03 03:04:33 +12:00

Added the aliases to the right method this time

This commit is contained in:
Phxntxm 2016-08-07 09:03:36 -05:00
parent 7969d65578
commit ff3d62093a

View file

@ -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()