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