ZeroBot Terminal

Code your Discord bot in real JavaScript, right here in the browser. Pick a mode, paste your key, write code, hit Run.

Your token stays in YOUR browser only (saved on this device, never sent to any server but Discord). Never share it or paste it anywhere public. If it ever leaks, reset it in the Discord Developer Portal → your app → Bot → Reset Token.

Output will show here. Hit Run.

What you can use in your code

Bot token mode — a discord helper is loaded for you:

await discord.me() — your bot's user info.
await discord.api("/users/@me/guilds") — any Discord REST call (GET).
await discord.api("/channels/CHANNEL_ID/messages", "POST", { content: "hi" }) — send a message (or any POST).
await discord.send("CHANNEL_ID", "hello!") — shortcut to send a message.
await discord.read("CHANNEL_ID") — read the last messages in a channel.

Webhook mode — a webhook helper is loaded for you:

await webhook.send("hello!") — send a message.
await webhook.embed({ title: "Hi", description: "from my terminal", color: 0x7c5cff }) — send an embed.

Plain JavaScript — fetch, console.log, JSON, Math, Date, await all work. The value you return is printed as JSON. Your code is saved on this device when you hit Save code.

About npm: npm installs packages into Node.js on a server — a website in a browser can't install npm packages. That's why this terminal gives you real JavaScript + fetch + these Discord helpers instead. If you want npm, that's a Replit (Node) project, not a website. The helpers above cover what most bot code needs.