From e7ea1cfebd38413f80d8cb5d246f181fb4d8b237 Mon Sep 17 00:00:00 2001 From: "/v/ (The Corrupted King)" <66529179+TheCorruptedKing@users.noreply.github.com> Date: Sat, 4 Dec 2021 18:29:33 -0500 Subject: [PATCH] Changed Both basic and admin invite It will be useful for analytics, no major changes have been made besides the bot's profile containing the "Add to server" button and a few extra permissions for future updates (external emojis and stickers, more are soon to come and will be changed when needed). --- .../corruptedmainframe/commands/Commands.kt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bot/src/com/github/corruptedinc/corruptedmainframe/commands/Commands.kt b/bot/src/com/github/corruptedinc/corruptedmainframe/commands/Commands.kt index 5a26b3e..6734cb4 100644 --- a/bot/src/com/github/corruptedinc/corruptedmainframe/commands/Commands.kt +++ b/bot/src/com/github/corruptedinc/corruptedmainframe/commands/Commands.kt @@ -91,13 +91,15 @@ class Commands(val bot: Bot) { private const val REMINDERS_PER_PAGE = 15 private const val MAX_REMINDERS = 128 - +// Changed both Invite links for analytical purpouses. +// Kept both old Invite links that the bot used so people actually know what the shortened ones redirect to. fun adminInvite(botId: String) = - "https://discord.com/api/oauth2/authorize?client_id=$botId&permissions=8&scope=applications.commands%20bot" + "https://dsc.gg/corrupted-mainframe_admin" + // "https://discord.com/api/oauth2/authorize?client_id=$botId&permissions=8&scope=applications.commands%20bot" fun basicInvite(botId: String) = - "https://discord.com/api/oauth2/authorize?client_id=$botId" + - "&permissions=271830080&scope=applications.commands%20bot" + "https://dsc.gg/corrupted-mainframe_basic" + // "https://discord.com/oauth2/authorize?client_id=838133145248989225&permissions=271830080&scope=applications.commands%20bot" val unauthorized = EmbedBuilder().setTitle("Insufficient Permissions") .setColor(ERROR_COLOR).build()