Context Command Structure (Structure) — DiSky
Addon: DiSky · Category: Structure · Since: 5.0.0-a2
Syntax
user command <(.+)$>Description
Declares a user or message context-menu command (Apps > name when right-clicking a user or a message) and the trigger that runs when it is used: 'target user' / 'target message' give what was clicked. Entries: name (a section of translated names), enabled for, disabled, nsfw, contexts, integration types, cooldown + cooldown scope + on cooldown, trigger. The name may contain spaces and capitals. Nothing is sent to Discord: register it with 'update the discord commands (all structured application commands) in ...' from 'on ready' / 'on guild ready'.
Examples
user command Report user:
trigger:
reply with hidden "Reported %target user%"
message command Pin this:
enabled for: manage messages
trigger:
pin target message
reply with hidden "Pinned!"