🚑 Fix permission
This commit is contained in:
parent
e5db36d558
commit
10406a0f68
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
# ClaptrapBot: A multifunctional Discord Bot !
|
# ClaptrapBot: A multifunctional Discord Bot !
|
||||||
|
|
||||||
|
|
||||||
[![GitHub Release][releases-shield]][releases]
|
[![GitHub Release][releases-shield]][releases]
|
||||||
![Project Stage][project-stage-shield]
|
![Project Stage][project-stage-shield]
|
||||||
[![License][license-shield]](LICENSE.md)
|
[![License][license-shield]](LICENSE.md)
|
||||||
|
@ -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(1636113579328L));
|
String link = MainBot.jda.setRequiredScopes("applications.commands").getInviteUrl(Permission.getPermissions(1099511103319L));
|
||||||
return new InviteLink(link);
|
return new InviteLink(link);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user