- Register a guild command first.
- Check member permissions before mutating state.
- Reply ephemeral with the result.
- Log correlation id + admin user id.
- Add a confirm button for destructive actions.
Tutorial
Ship an ephemeral admin slash command
Guild install, permission check and ephemeral reply.