mirror of
https://github.com/sern-handler/create-bot
synced 2026-06-06 01:16:53 +00:00
12 lines
251 B
TypeScript
12 lines
251 B
TypeScript
import { commandModule, CommandType } from '@sern/handler';
|
|
|
|
export default commandModule({
|
|
type: CommandType.Both,
|
|
plugins: [],
|
|
description: 'A ping command',
|
|
//alias : [],
|
|
execute: async (ctx, args) => {
|
|
await ctx.reply('Pong 🏓');
|
|
},
|
|
});
|