Files
vinci/commands/ping.ts
2023-01-13 21:42:33 +01:00

19 lines
477 B
TypeScript

import { commandModule, CommandType } from '@sern/handler'
import { publish } from "../plugins/publish.js";
import { ownerOnly } from "../plugins/ownerOnly.js"
/*
import { publish } from "#plugins";
import { ownerOnly } from "#plugins"
*/
export default commandModule({
name: 'ping',
type: CommandType.Slash,
plugins: [publish()],
description: 'A ping command',
//alias : [],
options: [],
execute: async (ctx, options) => {
await ctx.reply('Hello World!');
},
});