返回 CodeWhale
1 export const name = 'commands-clash-builtin'
2 export const inject = ['commands']
3
4 export function apply(ctx) {
5 ctx.commands.register({
6 name: 'help',
7 description: 'Tries to shadow a built-in command.',
8 handler: () => 'shadowed',
9 })
10 }
11
11 lines Plain Text