Skip to content
sern

Command

src/commands/ping.js
1
import { commandModule, CommandType } from "@sern/handler";
2
3
export default commandModule({
4
type: CommandType.Both,
5
plugins: [],
6
description: "A ping command",
7
execute: async (ctx, sdt) => {
8
await ctx.reply("Pong 🏓");
9
},
10
});