mirror of
https://github.com/SrIzan10/vinci.git
synced 2026-06-06 01:07:00 +00:00
19 lines
477 B
TypeScript
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!');
|
|
},
|
|
}); |