aboutsummaryrefslogtreecommitdiff
path: root/bot/src/commands/attack.js
blob: 2863e5a25ed7387fd8fa03c443431966a53f830e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { SlashCommandBuilder } from 'discord.js';

export default {
    data: new SlashCommandBuilder()
        .setName('attack')
        .setDescription('You don\'t like someone? Attack them!')
        .addStringOption(option =>
            option
                .setName('target')
                .setDescription('Enter the target you want to attack.')
                .setRequired(true)),
    async execute(interaction) {
        const target = interaction.options.getString('target');

        return await interaction.reply(`${interaction.user.displayName} :right_facing_fist: ${target}`);
    }
};