mirror of
https://github.com/keanuplayz/TravBot-v3.git
synced 2024-08-15 02:33:12 +00:00
13 lines
342 B
TypeScript
13 lines
342 B
TypeScript
|
import Command from "../../core/command";
|
||
|
|
||
|
export default new Command({
|
||
|
description: "Gives you the invite link.",
|
||
|
async run($) {
|
||
|
$.channel.send(
|
||
|
`https://discordapp.com/api/oauth2/authorize?client_id=${$.client.user!.id}&permissions=${
|
||
|
$.args[0] || 8
|
||
|
}&scope=bot`
|
||
|
);
|
||
|
}
|
||
|
});
|