bot.cron2systemd.dev

Discord bot offline checklist and related checks

Seventy client-side tools for Discord bot invites, privileged intents, permission bits and overwrites, gateway and voice opcodes, channels and threads, slash commands, embeds, and common API errors. The flagship builds an invite URL and walks the usual reasons a bot looks offline. Nothing calls Discord.

Flagship

Discord bot offline checklist

Build an invite URL and walk the usual reasons a bot stays offline. No Discord API.

Intents

Message Content Intent check

Compare the portal toggle with whether your library requests the Message Content intent.

Invite

OAuth2 invite URL builder

Build a Discord bot invite URL from an application id, scopes, and a permission integer.

Errors

Bot versus user token warning

Locally classify a token-shaped string, then clear it. Nothing is sent.

Intents

Privileged intents checklist

Check the three privileged intents and that code and portal match.

Invite

applications.commands scope

Require the applications.commands scope on an invite before expecting slash commands.

Intents

Gateway intents bitfield

Decode a gateway intent integer into intent names, including privileged ones.

Errors

Discord API error decoder

Look up common Discord JSON error codes such as 50001 and 50013.

Errors

Slash command not showing

Checklist for slash commands that never appear in the picker.

Invite

Bot permissions calculator

Sum Discord permission bits from checkboxes, including Administrator.

Errors

Missing access guide

Walk error 50001 Missing Access: membership, View Channel, and overwrites.

Errors

Reset token or intents

Decide whether a failure means reset the token or fix a privileged intent mismatch.

Intents

When presence intent is needed

Presence intent is only for receiving other users’ presence. The bot can be online without it.

Intents

Server Members Intent uses

See whether your feature actually needs the privileged Server Members intent.

Invite

Webhook versus bot

Pick a webhook or a bot from what you need to do. No API calls.

Errors

Interaction endpoint URL

Check that an interactions endpoint URL is public https, and remember the PING/PONG handshake.

Errors

429 rate limit explainer

Parse a Discord 429 body or Retry-After header and explain the wait.

Intents

When sharding is required

Discord requires sharding at 2,500 guilds. Estimate a shard count from a guild total.

Checklist

Developer Portal checklist

Walk application, bot user, token, intents, and install settings in the Developer Portal.

Checklist

Bot security checklist

A local checklist for token handling, Administrator, intents, and public install.

Gateway

Snowflake ID to timestamp decoder

Decode a Discord snowflake into its creation time, worker, process, and increment, or build a snowflake for pagination.

Gateway

Gateway close code explainer

Look up a Discord gateway close code (4000–4014, 1000/1001) and whether your bot should reconnect.

Gateway

Gateway heartbeat interval helper

Turn the Hello heartbeat_interval into a jittered heartbeat schedule, a send-budget estimate, and the zombie-connection rule.

Gateway

max_concurrency identify bucket calculator

Plan shard startup waves from max_concurrency: rate_limit_key buckets, 5-second identify windows, and daily session starts left.

Intents

Gateway intents for events lookup

Paste the gateway events your bot handles and get the exact intents bitfield, with privileged intents flagged.

Intents

Application flags decoder

Decode the application flags integer to see which privileged intents are enabled or approved for your bot.

Commands

Interaction response type picker

Pick the right interaction callback type (PONG, reply, defer, update, autocomplete, modal) for each interaction type, with a JSON body.

Commands

Interaction 3-second deadline checker

Paste an interaction id to see how long you have left to respond or defer, and when its 15-minute token expires.

Commands

Interaction Ed25519 signature verifier

Verify X-Signature-Ed25519 and X-Signature-Timestamp against your app's public key in the browser with WebCrypto.

Commands

Slash command JSON validator

Validate application command JSON against Discord's limits: name regex, 1–100 descriptions, 25 options and choices, 8000 characters.

Commands

Command localization key checker

Check name_localizations and description_localizations keys against Discord's locale list, and their values against command limits.

Commands

Autocomplete response builder

Build a type 8 APPLICATION_COMMAND_AUTOCOMPLETE_RESULT body: filter by what the user typed, cap at 25 choices, and validate values.

Commands

Component custom_id and limits checker

Check buttons and select menus: custom_id 1–100 characters and unique, 5 buttons per row, 25 options, labels and placeholders.

Messages

Embed JSON limit checker

Check embed JSON against Discord's limits: title 256, description 4096, 25 fields, field value 1024, 10 embeds, 6000 total.

Messages

Embed color int and hex converter

Convert #RRGGBB, 0x hex, rgb(), or a decimal integer into the integer the embed color field expects.

Messages

Discord timestamp markdown formatter

Turn a date, unix time, or snowflake into <t:…> timestamp tags for all nine styles, with a local preview.

Messages

Markdown and mention sanitizer

Escape Discord markdown, masked links, and @everyone/@here in user-supplied text before your bot echoes it.

Messages

allowed_mentions builder

Build an allowed_mentions object, catch the parse versus users/roles conflict, and preview who a message would ping.

Messages

Message flags decoder

Decode a message flags integer (EPHEMERAL, SUPPRESS_EMBEDS, SUPPRESS_NOTIFICATIONS, IS_COMPONENTS_V2) and check which you may set.

Messages

Webhook URL parser and validator

Parse a Discord webhook URL into id, creation date, masked token, and query options, locally. The field is cleared and nothing is sent.

Roles

Permission overwrite allow/deny decoder

Decode a channel permission overwrite's allow and deny integers, spot bits set in both, and see implicit denies.

Roles

Channel effective permission resolver

Compute a member's effective channel permissions from @everyone, role permissions, and overwrites, using Discord's documented order.

Roles

Role hierarchy check explainer

Check whether a bot can assign roles, kick, ban, time out, or rename a member given role positions, and why it gets 50013.

Errors

X-RateLimit header parser

Parse X-RateLimit-Limit, Remaining, Reset, Reset-After, Bucket, Scope, and Retry-After headers into a wait time.

Errors

X-Audit-Log-Reason header encoder

Percent-encode a moderation reason for the X-Audit-Log-Reason header and check the 512-character limit.

Gateway

Gateway opcode lookup

Look up a Discord gateway opcode (Dispatch, Heartbeat, Identify, Resume, Hello) and whether the client sends or receives it.

Gateway

Voice gateway opcode lookup

Look up a voice websocket opcode, who sends it, and which DAVE payloads are binary.

Gateway

Voice close code explainer

Look up a voice gateway close code and whether the client should reconnect, resume, or stop.

Gateway

Gateway capabilities bitfield decoder

Decode the Identify capabilities bitfield. It is separate from intents and currently documents CHANNEL_OBFUSCATION.

Channels

Channel type lookup

Look up a channel type id (text, voice, thread, forum, media, stage) and the rules that apply to that type.

Channels

Channel flags bitfield decoder

Decode channel flags: pinned thread, required forum tag, hidden media downloads, obfuscated metadata, and spoiler channel.

Channels

Thread auto-archive duration helper

Check auto_archive_duration (60, 1440, 4320, 10080), thread name length, slowmode, and the locked rule.

Channels

Voice and stage bitrate limit check

Check a bitrate and user limit against the documented caps for voice channels, stage channels, and server boost level.

Invite

Channel invite JSON builder

Build a Create Channel Invite body: max_age 0-604800, max_uses 0-100, temporary, unique, and voice or embedded targets.

Invite

OAuth2 scope and install-context URL

Build a discord.com/oauth2/authorize URL from scopes named in the docs, with integration_type for guild or user install.

Messages

Message type lookup

Look up a message type value, whether it can be deleted, and which types need a newer API version.

Messages

Message reference reply and forward builder

Build a message_reference object for a reply (type 0) or a forward (type 1), with the required ids.

Messages

Bulk delete 2-week window checker

Check a list of message ids for the bulk-delete rules: 2 to 99 ids, no duplicates, and none older than 14 days.

Messages

Attachment upload limit planner

Check filenames and sizes against the 20 MiB default per file, the 25 MiB request cap, 10 attachments, and embed attachment URLs.

Messages

Custom and unicode emoji formatter

Turn a unicode emoji or name:id into message markdown, a reaction route segment, or a forum default reaction.

Messages

Sticker message limit checker

Check sticker_ids for the 3-per-message cap and list the documented format and Lottie limits.

Messages

CDN image URL builder

Build a cdn.discordapp.com image URL for an emoji, avatar, guild icon, sticker, or default avatar, with a legal size.

Messages

Signed attachment URL expiry checker

Read the ex, is, and hm parameters on a Discord attachment CDN URL and report when the signature expires.

Messages

File type filter builder

Build the file_types array for a file upload component or an attachment option: groups, extensions, and the 10-item cap.

Messages

Poll message checklist

Check the documented poll rules: which intent carries votes, message content, forwards, components v2, and SEND_POLLS.

Commands

Modal and text input limit checker

Validate a modal callback: title 45, custom_id 100, 1-5 components, and text input length bounds.

Commands

Installation and interaction context planner

Build integration_types and contexts for a command, and flag user-install rules that change where it can run.

Commands

authorizing_integration_owners explainer

Explain an interaction's authorizing_integration_owners map: guild install versus the user who authorized a user install.

Errors

Discord JSON error code catalog

Look up any JSON error code from the opcodes and status codes reference, not just the handful of common ones.

Roles

Member timeout timestamp checker

Read communication_disabled_until and report whether the member is timed out right now.