25 lines
560 B
TypeScript
25 lines
560 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,
|
|
};
|
|
}
|