Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ez:command.setSlashCommandHandler

Set command handler for special /! command

function setSlashCommandHandler(handler: (this: CommandOrigin, input: string) => string): void;
§
setSlashCommandHandler(handler: (this: CommandOrigin, input: string) => string): void
[src]

§Parameters

§
handler: (this: CommandOrigin, input: string) => string
[src]

handler function

§Return Type