Skip to content

CIRCE / DOCUMENTATION

circe add

Generate a command, event, component, modal or guard.

Documentation menu
circe add <kind> <name> [options]
Kind Writes to Options
command src/commands/<name>.ts --description <text>, --guild-only
event src/events/<name>.ts --once
component src/components/<name>.ts --prefix <pfx> or --pattern <pat>
modal src/modals/<name>.ts --prefix <pfx>
guard src/guards/<name>.ts

It refuses to overwrite an existing file unless you pass --force.

circe add command ping --description "Replies with pong" --guild-only
circe add event ready --once
circe add component button --prefix "btn:click:"
circe add guard admin

circe add covers top-level modules. Command groups and context menus are written by hand.