🚑 Fix permission
This commit is contained in:
parent
8f517633dc
commit
c2f8f92613
@ -33,7 +33,7 @@ public class GuildController {
|
|||||||
|
|
||||||
@GetMapping("inviteLink")
|
@GetMapping("inviteLink")
|
||||||
public InviteLink getInviteLink() {
|
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);
|
return new InviteLink(link);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user