From 996a2c26caffacf44a7ba0097557797431de02c8 Mon Sep 17 00:00:00 2001 From: Joseph Gonzalo Date: Wed, 19 Jun 2019 12:58:55 -0600 Subject: [PATCH] Update index.js Replace ${bot.user.username} to ${bot.user.id} in line 44. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 90dfe55..aefc1d8 100644 --- a/index.js +++ b/index.js @@ -41,7 +41,7 @@ fs.readdir("./sb-addons/", (err, files) => { bot.on("ready", async () => { bot.user.setActivity(bot.settings.BotStatus, {type:"PLAYING"}); - console.log(`\x1b[36m`, `=== [SupportBot] ===\n\nSupportBot - Created by Emerald Services\nInvite ${bot.user.username} to your server\nhttps://discordapp.com/api/oauth2/authorize?client_id=${bot.user.username}&permissions=8&scope=bot\n\n=== [SupportBot] ===`) + console.log(`\x1b[36m`, `=== [SupportBot] ===\n\nSupportBot - Created by Emerald Services\nInvite ${bot.user.username} to your server\nhttps://discordapp.com/api/oauth2/authorize?client_id=${bot.user.id}&permissions=8&scope=bot\n\n=== [SupportBot] ===`) }); bot.on("message", async message => {