Automations

Examples

Common automation patterns.

Daily morning announcement (cron)#

Trigger: cron, expression 0 8 * * *. Timezone: America/New_York.

auditscript
send("CHANNEL_ID_HERE", "Good morning ${server.name}!")

Welcome message on join (member_join)#

Trigger: member_join.

auditscript
add_role(user_id, "MEMBER_ROLE_ID", "auto-assign") send("CHANNEL_ID_HERE", "Welcome to ${server.name} ${user.mention}!")

Auto-timeout spam (message_sent)#

Trigger: message_sent with keyword filter matching your spam pattern.

auditscript
timeout(user_id, 300, "auto-timeout for matched keyword") delete_message()

Poll reactions on suggestions (message_sent)#

Trigger: message_sent with channel filter set to your suggestions channel.

auditscript
add_reaction("👍") wait(1) add_reaction("👎")