mirror of
https://github.com/SrIzan10/vinci.git
synced 2026-06-22 16:42:37 +00:00
20 lines
554 B
TypeScript
20 lines
554 B
TypeScript
import { commandModule, CommandType } from '@sern/handler'
|
|
import { publish } from "../src/plugins/publish.js";
|
|
import { ownerOnly } from "../src/plugins/ownerOnly.js"
|
|
/*
|
|
import { publish } from "../../src/plugins/publish.js";
|
|
import { ownerOnly } from "../../src/plugins/ownerOnly.js"
|
|
*/
|
|
|
|
export default commandModule({
|
|
name: 'ping',
|
|
type: CommandType.Slash,
|
|
plugins: [publish()],
|
|
// , '928018226330337280'
|
|
description: 'A ping command',
|
|
//alias : [],
|
|
options: [],
|
|
execute: async (ctx, options) => {
|
|
await ctx.reply('Hello World!');
|
|
},
|
|
}); |