1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Changed join to addbot, join already exists

This commit is contained in:
Phxntxm 2016-07-09 13:28:48 -05:00
parent b229bdd100
commit 8128ea309e

View file

@ -15,7 +15,7 @@ class Core:
self.bot = bot
@commands.command()
async def join(self):
async def addbot(self):
perms = discord.Permissions.none()
perms.read_messages = True
perms.send_messages = True
@ -27,6 +27,7 @@ class Core:
perms.read_message_history = True
perms.attach_files = True
await bot.say("Use this URL to add me to a server that you'd like!\n{}'".format(discord.utils.oauth_url('183748889814237186',perms)))
@commands.command()
async def joke(self):
"""Prints a random riddle"""