penguin-band/commands/hello.js

14 lines
355 B
JavaScript

import { SlashCommandBuilder } from "discord.js";
import { RUNNER_ROLE_ID } from "../config.json";
const data = new SlashCommandBuilder()
.setName("hello")
.setDescription("Replies 'world'");
const permissions = [RUNNER_ROLE_ID];
const execute = async (interaction) => {
await interaction.reply("world");
}
export { data, permissions, execute };