27 lines
570 B
TypeScript
27 lines
570 B
TypeScript
import { ChatInputCommandInteraction, SlashCommandBuilder } from "discord.js";
|
|
|
|
import { Settings } from "./common";
|
|
|
|
import { Nag, CheckIn } from './common';
|
|
|
|
const data = new SlashCommandBuilder()
|
|
.setName("checkin")
|
|
.setDescription("Check-in for your daily nag")
|
|
.addStringOption((option) =>
|
|
option
|
|
.setName("text")
|
|
.setDescription("Optional description of what you have achieved"),
|
|
);
|
|
|
|
async function initialize(settings: Settings) {}
|
|
|
|
function execute(interaction: ChatInputCommandInteraction) {
|
|
|
|
}
|
|
|
|
export default function () {
|
|
return {
|
|
data,
|
|
};
|
|
}
|