From c2f8f9261324a8ced3f530265607bf65d678609f Mon Sep 17 00:00:00 2001 From: SebClem Date: Thu, 30 Jun 2022 11:10:26 +0200 Subject: [PATCH] :ambulance: Fix permission --- src/main/java/net/Broken/Api/Controllers/GuildController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/Broken/Api/Controllers/GuildController.java b/src/main/java/net/Broken/Api/Controllers/GuildController.java index a28a0a6..0109b6c 100644 --- a/src/main/java/net/Broken/Api/Controllers/GuildController.java +++ b/src/main/java/net/Broken/Api/Controllers/GuildController.java @@ -33,7 +33,7 @@ public class GuildController { @GetMapping("inviteLink") public InviteLink getInviteLink() { - String link = MainBot.jda.setRequiredScopes("applications.commands").getInviteUrl(Permission.getPermissions(1099511103319L)); + String link = MainBot.jda.setRequiredScopes("applications.commands").getInviteUrl(Permission.getPermissions(1644971949399L)); return new InviteLink(link); }