Command reference
DiscordHook
Help on DiscordHook
Publish character-independent FutureProg actions for linked Discord users.
discordhook list - lists definitions, including disabled/broken actions
discordhook new <key> <prog> - creates a disabled action
discordhook show <key> - shows policy, usage and validation
discordhook edit <key> - selects the hook for set
discordhook set <field> <value> - edits the selected hook
discordhook set <key> <field> <value> - edits a named hook directly
Fields: description, category, usage, prog, authority, enabled, confirm, cooldown (seconds), accounts, guilds, channels.
Use none to clear account/guild/channel restrictions. Progs must return Text and take Number accountId, Text discordUserId, Text invocationId, Text arguments.
Only publish trusted bounded progs. Confirmation/timeouts cannot roll back or cancel a running prog.