No more admin perms in the invite link!!!

This commit is contained in:
Alyxia Sother 2021-10-29 15:27:52 +02:00
parent fbb687d3d6
commit 203c541025
No known key found for this signature in database
GPG Key ID: 355968D14144B739
1 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,11 @@ import {Command, NamedCommand} from "onion-lasers";
export default new NamedCommand({
description: "Gives you the invite link.",
async run({send, client}) {
send(`https://discordapp.com/api/oauth2/authorize?client_id=${client.user!.id}&permissions=8&scope=bot`);
send(
`https://discordapp.com/api/oauth2/authorize?client_id=${
client.user!.id
}&permissions=138046467152&scope=bot`
);
},
number: new Command({
async run({send, client, args}) {