aboutsummaryrefslogtreecommitdiff
path: root/bot/src/commands/warn.js
blob: a053c12819a077384863feab099a408e1f84e81f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import { PermissionFlagsBits, SlashCommandBuilder } from 'discord.js';

export default {
    data: new SlashCommandBuilder()
        .setName('warn')
        .setDescription('Warns a member of the server')
        .setContexts(0)
        .setDefaultMemberPermissions(PermissionFlagsBits.KickMembers),
    async execute(interaction) {
        return await interaction.reply('Hello world');
    }
};