From 95b50969612878f49b82448604910a074dbc82cd Mon Sep 17 00:00:00 2001 From: Irdumb Date: Sat, 16 Apr 2016 23:32:11 +1000 Subject: [PATCH] More info on !join with BOT tag (#161) --- red.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/red.py b/red.py index 9686bc1d3..7fbc991e1 100644 --- a/red.py +++ b/red.py @@ -264,7 +264,10 @@ async def shutdown(): async def join(invite_url : discord.Invite): """Joins new server""" if bot.user.bot == True: - bot.say("I cannot join servers with invite link. Please use a OAuth link.") + msg = "I have a **BOT** tag, so I must be invited with an OAuth2 link:\n" + msg += "`https://discordapp.com/oauth2/authorize?&client_id=`__**`MY_CLIENT_ID_HERE`**__`&scope=bot`\n" + msg += "For more information: https://discordapp.com/developers/docs/topics/oauth2#adding-bots-to-guilds" + await bot.say(msg) else: try: await bot.accept_invite(invite_url)