mirror of https://github.com/clickscodes/nucleus
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
597 B
20 lines
597 B
|
4 years ago
|
import { CommandInteraction } from "discord.js";
|
||
|
|
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
|
||
|
|
import { WrappedCheck } from "jshaiku";
|
||
|
|
|
||
|
|
const command = (builder: SlashCommandSubcommandBuilder) =>
|
||
|
|
builder
|
||
|
4 years ago
|
.setName("events")
|
||
|
|
.setDescription("Sets what events should be logged")
|
||
|
4 years ago
|
|
||
|
|
const callback = (interaction: CommandInteraction) => {
|
||
|
4 years ago
|
interaction.reply("Command incomplete [settings/log/events]");
|
||
|
4 years ago
|
}
|
||
|
|
|
||
|
|
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
|
||
|
4 years ago
|
return true;
|
||
|
4 years ago
|
}
|
||
|
|
|
||
|
|
export { command };
|
||
|
|
export { callback };
|
||
|
|
export { check };
|