Changed join to addbot, join already exists
This commit is contained in:
parent
b229bdd100
commit
8128ea309e
|
@ -15,7 +15,7 @@ class Core:
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def join(self):
|
async def addbot(self):
|
||||||
perms = discord.Permissions.none()
|
perms = discord.Permissions.none()
|
||||||
perms.read_messages = True
|
perms.read_messages = True
|
||||||
perms.send_messages = True
|
perms.send_messages = True
|
||||||
|
@ -27,6 +27,7 @@ class Core:
|
||||||
perms.read_message_history = True
|
perms.read_message_history = True
|
||||||
perms.attach_files = 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)))
|
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()
|
@commands.command()
|
||||||
async def joke(self):
|
async def joke(self):
|
||||||
"""Prints a random riddle"""
|
"""Prints a random riddle"""
|
||||||
|
|
Loading…
Reference in a new issue