mirror of
https://github.com/keanuplayz/TravBot-v3.git
synced 2024-08-15 02:33:12 +00:00
No more admin perms in the invite link!!!
This commit is contained in:
parent
fbb687d3d6
commit
203c541025
1 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,11 @@ import {Command, NamedCommand} from "onion-lasers";
|
||||||
export default new NamedCommand({
|
export default new NamedCommand({
|
||||||
description: "Gives you the invite link.",
|
description: "Gives you the invite link.",
|
||||||
async run({send, client}) {
|
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({
|
number: new Command({
|
||||||
async run({send, client, args}) {
|
async run({send, client, args}) {
|
||||||
|
|
Loading…
Reference in a new issue