Discord intents calculator
Tick what your bot does (or search the event you're not getting, like on_member_join or messageCreate) and out come the intents to request, the number, the code for discord.js or discord.py and the switches you have to turn on in the Discord portal. It also works the other way round: paste a number and we'll tell you which intents it is.
What does your bot do?
Shortcuts (added to whatever you've already ticked):
Server and members 8
Messages in channels 5
Direct messages 4
Voice, events and AutoMod 4
Already have a number?
Your intents number
With no intents, the bot connects but receives almost nothing. For a slash command bot, tick at least “Servers, channels and roles”.
The code
const { Client, GatewayIntentBits } = require("discord.js");
const client = new Client({
intents: [],
});Nothing you tick leaves your browser.
What intents are
A Discord bot stays connected all the time and Discord keeps sending it what happens: messages, people joining, reactions… Intents are the list of what the bot wants to receive, and they're requested when it connects. What you don't ask for never arrives: if your bot doesn't request messages, your on_message never runs, with no error at all. That's why, if an event “doesn't work”, the first thing to check is whether its intent is on the list.
Like permissions, they go in a single number: each intent is a power of two and the number is the sum. Messages in channels (512) + message content (32768) + servers (1) = 33281.
The three privileged ones
Three intents give out people's personal data and Discord keeps them apart: members (who joins and leaves), presences (who is online and what they're playing) and message content (what gets written). To use them you have to do two things, and if one is missing the bot won't start or won't see anything:
- Request it in the code, like in the code above.
- Enable it in the portal: discord.com/developers/applications → your application → “Bot” → “Privileged Gateway Intents” → “Server Members Intent”, “Presence Intent” or “Message Content Intent”. Save the changes.
And then restart the bot: intents are requested when it connects.
Do I need message content?
Only if your bot reads what people write: prefix commands (!help), word filters, auto-replies, leveling bots that count messages. Without it, the bot still sees messages that mention it, DMs and its own. If your bot runs on slash commands, you don't need it: Discord hands it the command's options already split up. That's why slash commands are recommended today: one less privileged intent to justify when the bot grows.
Frequently asked questions
My bot is online but doesn't respond to “!” commands. Why?
It's almost always message content: without MESSAGE_CONTENT, messages reach the bot with empty text, so it never sees your “!ping”. You have to request it in the code (with GUILD_MESSAGES) and enable “Message Content Intent” in the portal. That's the “!” commands shortcut above.
What does “PrivilegedIntentsRequired” or “DisallowedIntents” mean?
That your code asks for a privileged intent (members, presences or message content) that isn't enabled in the portal, and Discord closes the connection with code 4014. Enable it under “Bot” → “Privileged Gateway Intents”, or remove it from the code if you don't use it.
And code 4013?
That the intents number has bits that don't belong to any intent (a badly copied or made-up one). Paste your number above, in “Already have a number?”, and we'll tell you which bits are extra.
Do slash commands need any intent?
No: interactions (slash commands, buttons, menus) always arrive, whatever you ask for. Still, ask for GUILDS: the libraries use it to know which servers the bot is in and which channels they have.
Why not just ask for all of them and forget about it?
Because every intent is traffic your bot receives and processes even if it doesn't use it: with presences, a big server sends a notice every time someone changes status or game. More memory and more CPU for nothing. And when the bot grows, the privileged ones have to be justified.
When do I have to ask Discord for permission for a privileged intent?
According to Discord's documentation, while your application has fewer than 10,000 users it's enough to enable it in the portal. Beyond that, Discord notifies the owner and you have to request a review explaining what each one is used for.
Can I use the number instead of the list?
Yes: in discord.js, intents: 33281; in discord.py, discord.Intents(value=33281). It works the same, but with the list you can read what the bot asks for, which is why the code above uses names.
If the bot still doesn't respond with the intents set correctly, go over the other causes in my Discord bot isn't responding; and to invite it with just the right permissions, the permissions calculator.
And where does it run?
A bot only responds while its program is running: if it's on your computer, it goes off when you turn the computer off. At NapNodes you get a free Discord bot, no card needed: 256 MB of memory, always on, and every 7 days you renew it with one click in the panel. It works for Node.js (discord.js) or Python (discord.py): you choose in Settings → Language. If it falls short, there are Mini and Plus plans, with nothing to renew. How to upload the code is in hosting for your Discord bot.
More free tools
Is my Minecraft server online?
Type a Minecraft server address and see whether it responds, how many are playing, its version and its MOTD.
Is my Valheim server online?
Type a Valheim server's address and port and see whether it responds, how many are playing and its name.
Is my Project Zomboid server online?
Type a Project Zomboid server's address and port and see whether it responds, how many are playing and its name.
Is my port open?
Check from the internet whether your home server's port is open (Minecraft, Valheim, Zomboid) and whether your ISP uses CG-NAT.
Minecraft RAM calculator
How many GB your Minecraft server needs for its plugins or mods, the players online at once and the view distance.
How much RAM do I need? (every game)
Minecraft, Hytale, Project Zomboid, Valheim or a Discord bot: pick the game, players and mods, and see the plan that fits.
server.properties editor
Paste your server.properties, change each option with a plain-English explanation and download it. It flags the ones that no longer work.
Minecraft color codes
Minecraft's colours and styles in “&”, “§”, hex and MiniMessage, and a converter to move your text from one to another.
MOTD generator
The server list message with colours and styles, a live preview and the line ready for server.properties.
Hytale config.json editor and validator
Paste your Hytale server's config.json: it shows the line that breaks it if the server won't start, and edits each option without touching the seed.
Chunky pre-generation calculator
How much disk and time pre-generating your world with Chunky takes for a given radius, with the console commands ready.
Nether portal calculator
Convert Overworld coordinates to the Nether and back to link portals without duplicates. Paste your F3 line.
Minecraft stronghold finder
Throw two eyes of ender, paste what F3+C copies and get the coordinates of the stronghold and its End portal.
World border generator
Radius or side, centre, Nether and End, and a shrinking border for UHC: the /worldborder commands for your version.
Minecraft time calculator
How long a Minecraft day (and 100 days) lasts in real life, what time each tick is and the /time set for every hour, ready to copy.
Project Zomboid mod list
Paste Workshop links and Mod IDs and get WorkshopItems= and Mods= written correctly, with the Build 42 backslash.
Project Zomboid settings editor
Paste your .ini and SandboxVars.lua (or start from scratch), change their 400+ options with a search box, and download them.
Project Zomboid welcome message
Write what your players see when they join, with colours and lines, see it as in chat and copy the ServerWelcomeMessage line.
Project Zomboid day length and power shutoff calculator
How long an in-game day lasts in real time and how many hours of play are left until the power and water go off, at your server's pace.
Minecraft UUID lookup
Type a Minecraft Java username and get its UUID, the offline one and the lines for whitelist.json and ops.json.
Minecraft skin viewer
Type a Minecraft Java username to see their skin, download the PNG and copy /skin set and the /give for their head.
/give command generator
Items with enchantments, a coloured name and lore: the /give command written right for your Minecraft version.
Villager trade generator
A still villager that buys and sells whatever you say, at a fixed price and never running out: the /summon written right for your version.
Armor stand generator
Armor stands with a pose, arms, armour or a player's head, and floating text without plugins: the /summon for your version.
/particle command generator
Coloured dust, hearts or flames at spawn or above every player: the /particle command written right for your version.
Target selector generator
@a, @p, @e or @s with type, distance, name or tag: the selector written right, what it picks in plain English and a warning if it catches too much.
Firework generator
Rockets with shape, colours, trail and twinkle, with a drawing of the burst: the /give or /summon for your server's events.
/effect command generator
Effects with the level as the game shows it, forever or for minutes, without particles and for everyone: the /effect ready to copy.
Player head generator
The command for a player's head, a custom texture head or a mob head, written right for your Minecraft version.
/summon command generator
Mobs with a coloured name, more health, another size, gear or standing still: the /summon command written right for your version.
Minecraft enchantment order calculator
Your item and your enchanted books: the order to combine them in the anvil for the fewest levels, without hitting “Too Expensive!”.
Gamerules generator
Pick the rules and copy the commands, or paste old ones (keepInventory, doFireTick…) and convert them to the 1.21.11 names.
Server name generator
Name ideas for your server by game and style, with your own word if you like, and what its address would look like.
Minecraft recipe generator
Custom crafting recipes for your Minecraft server without mods: put the ingredients on the table and download the datapack for your version.
/tellraw and /title generator
Messages with colours, bold and click actions in chat or across the screen: the /tellraw or /title command ready to copy.
/playsound generator
Pick from almost 2000 Minecraft sounds, choose who hears it and how, and copy the /playsound for your version (and the /stopsound).
Written book generator
A Minecraft book with colours and several pages (rules, welcome, clues) and its /give written for your version.
/bossbar generator
Your own boss bar at the top of the screen, with your text, its colours and as full as you say: the /bossbar commands ready to copy.
Which Java do I need?
Type your Minecraft version or paste the Java error and we'll tell you which Java your server or your game needs.
Why won't my server start?
Paste your Minecraft server's latest.log or crash report and see in plain English what failed and how to fix it.
Gradient text generator
Type some text, pick the colours and get the gradient in “&#”, MiniMessage or “&x” for chat, the MOTD or plugins.
LuckPerms commands generator
Choose your ranks (vip, moderator, admin), their prefix and permissions and get the LuckPerms commands in order, ready for the console.
Server icon maker
Upload an image (or type a few letters) and get the 64×64 server-icon.png Minecraft asks for, ready for Files.
Pixel art generator
Upload an image and get the plan in concrete, wool or terracotta blocks and how many you need, counted in stacks.
Slime chunk finder
Enter the seed and your coordinates and see the slime chunks nearest to you on a map of your Minecraft Java world.
Superflat generator
Pick layers, biome and structures (or one of the game's presets) and get the server.properties lines for a superflat world.
Minecraft circle and sphere generator
Block circles, ovals and spheres, layer by layer and row by row, with the blocks you need and the WorldEdit command.
Minecraft XP calculator
How many experience points from one level to another, what you lose when you die and the /xp command to give levels on your server.
Minecraft region file calculator
From coordinates or an area of your Minecraft world to the r.X.Z.mca file and its folders, to delete or regenerate just that piece.
Ping test
Measure from your connection the ping to the machines our servers run on, and whether you'll lag before setting one up.
SteamID64 finder
Paste a Steam link, a username or a STEAM_0 ID and get every form of the ID and the adminlist.txt line for Valheim.
Valheim world modifiers
Pick the difficulty, combat, portals or no build cost and copy the -preset, -modifier and -setkey for your Valheim dedicated server.
What does it cost in electricity?
What it costs in electricity to keep the server running on your PC at home, side by side with a plan and the free server.
start.bat generator
The start.bat or start.sh for your Minecraft server with the RAM set right and Aikar's flags, ready to download.
Discord bot permissions calculator
Tick your bot's permissions and get the number and the invite link; or paste a number and see which permissions it grants.
Minecraft potion recipes
Pick a potion and see its ingredients in order, how long it lasts as drinkable, splash, lingering or tipped arrow, and its /give.
Minecraft beacon calculator
How many blocks and ingots the beacon pyramid needs, how far it reaches, which effects it gives and whether it reaches your base.
Discord timestamp generator
Pick a date, time and time zone and copy the <t:…> so everyone on Discord sees the time in their own zone, or a countdown.
Discord colored text generator
Write on Discord in red, green or yellow, with backgrounds, bold and underline: the ansi block ready to paste, and the line for your bot.
Discord embed generator
Build an embed with a title, colour, fields and images, see it as Discord shows it and copy the discord.js, discord.py or webhook JSON code.
/fill and /clone generator
Two corners and a block, and out comes the /fill or /clone. Over 32768 blocks, it splits it into commands that fit and do the same.
Server rules generator
Tick the rules for your Minecraft, Zomboid, Valheim, Hytale or Discord server and copy them ready to paste, with punishments.
Leather armor dye calculator
Pick dyes and see your leather armour's colour, or enter a colour and get the dyes and the exact /give command.
Minecraft banner generator
Design a Minecraft banner or shield layer by layer, see it as you go and get the /give command and the loom steps.
Minecraft stack calculator
Turn blocks into stacks, shulker boxes and chests, and back. From a build's dimensions too, solid or hollow.
Minecraft item IDs
Search any block or item by its in-game name and copy its ID or the /give. Every one from the latest version.
pack.mcmeta generator
The pack.mcmeta for your data pack or resource pack with each version's format number (1.14 to 26.3), plus a checker for yours.