Update index.js

Replace ${bot.user.username} to ${bot.user.id} in line 44.
This commit is contained in:
Joseph Gonzalo authored and GitHub committed 2019-06-19 12:58:55 -06:00
1 parent fadf042101
commit 996a2c26ca
1 file changed
+1 -1
+1 -1
View File
@@ -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 => {