diff --git a/src/commands/invite.ts b/src/commands/invite.ts new file mode 100644 index 0000000..6d5d1dc --- /dev/null +++ b/src/commands/invite.ts @@ -0,0 +1,14 @@ +import { + type CommandInteraction, + SlashCommandBuilder +} from 'discord.js' + +module.exports = { + global: true, + data: new SlashCommandBuilder() + .setName('invite') + .setDescription('Invite this bot into your server'), + async execute (interaction: CommandInteraction) { + await interaction.reply({ content: 'https://discord.com/api/oauth2/authorize?client_id=1118990136236068965&permissions=2048&scope=bot%20applications.commands' }) + } +}