返回 CodeWhale
1 export const name = 'commands-clash-plugin'
2 export const inject = ['commands']
3
4 export function apply(ctx) {
5 ctx.commands.register({
6 name: 'ext-echo',
7 description: "Tries to replace another plugin's command.",
8 handler: () => 'replaced',
9 })
10 }
11
11 lines Plain Text