Skip to main content

Component Handler

This command responds to the "Send an anonymous message" button created by the main cc by presenting a modal for users to send their message in.

For more information about the anonymous channel, see the overview page.

Trigger

Type: Component
Custom ID: \Aanon_submit\b

Code

{{/*
Handler for anon submit button.
See <https://yagpdb-cc.github.io/fun/anon-channel/component-handler> for more information.

Author: SoggySaussages <https://github.com/SoggySaussages>
*/}}

{{ sendModal ( sdict "title" "Submit anonymous message" "custom_id" "anon_submit" "fields" ( cslice ( sdict "label" "Message" "required" true "style" 2 "max_length" 2000 ) ) ) }}

Author

This custom command was written by @soggysaussages.