🚑 Fix permission

This commit is contained in:
Sébastien Clément 2022-06-29 16:39:27 +02:00 committed by SebClem
parent e5db36d558
commit 10406a0f68
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
# ClaptrapBot: A multifunctional Discord Bot !
[![GitHub Release][releases-shield]][releases]
![Project Stage][project-stage-shield]
[![License][license-shield]](LICENSE.md)

View File

@ -33,7 +33,7 @@ public class GuildController {
@GetMapping("inviteLink")
public InviteLink getInviteLink() {
String link = MainBot.jda.setRequiredScopes("applications.commands").getInviteUrl(Permission.getPermissions(1636113579328L));
String link = MainBot.jda.setRequiredScopes("applications.commands").getInviteUrl(Permission.getPermissions(1099511103319L));
return new InviteLink(link);
}