Skip to main content
These run for things about your bot itself, YouTube, Twitch and TikTok alerts, webhooks, Discord AutoMod and the audit log.

Example

Set your bot’s status every time it starts, or post when your favourite YouTuber uploads.

Bot events

When it runs: every time your bot turns on.Variables: none.Build idea: a great place for a Bot status block, so your bot always shows the right status.
When it runs: your bot is added to a server.
When it runs: your bot leaves or is removed from a server.Variables: {event_guild_id} and {event_guild_name}.
When it runs: one of your own variables changes.Build idea: when someone reaches 1000 coins, give them a role.
When it runs: you save changes on the dashboard.Variables: {event_update_type}, which says what changed.

Social alerts

First choose who to watch in Integrations. See YouTube, Twitch and TikTok alerts for every variable these give you.
The DogeBot Integrations page

The Integrations page, where you pick who to watch.

When it runs: a new video or live stream appears.Build idea: post the new video in your announcements channel.
When it runs: the streamer starts streaming.Build idea: ping your stream fans role.
When it runs: a new TikTok is posted.

Webhooks

When it runs: another website sends data to your bot’s webhook link.Variables: everything it sends arrives as {webhook_...} variables. See Inbound webhooks.Build idea: post a message in Discord when someone buys from your online shop.

Discord AutoMod

These work with Discord’s own AutoMod (Server Settings, then AutoMod).
When it runs: AutoMod blocks a message or acts on someone.Build idea: post what was blocked in your staff log channel.
When it runs: an AutoMod rule is made, changed or removed.

Audit log

When it runs: anything is written to the server’s audit log (bans, role changes, channel changes and more).
Your bot needs the View Audit Log permission.
Build idea: one log channel that shows everything your staff do.

Application events

When it runs: someone changes who can use your bot’s commands in Server Settings.Variables: {event_application_id}, {event_command_id} and the server variables.

Example

Under When a custom variable’s value changes, a message block in your log channel says:
The bot shows: coins changed from 950 to 1000 Add a Compare check above the message if you only want it for one variable, for example {event_variable_name} Equal to coins.