Your bot token and webhook are stored on the server, not in this page — the terminal sends your code to the server, and the server calls Discord with them. The PIN keeps random visitors from using your bot through this public site. Your PIN is 6032. Don't share it. (You can ask me to change it anytime.)
Webhook mode uses the webhook stored on the server. A webhook can only send messages — it can't read, reply, or run commands. For that, use the bot token mode. Your PIN is 6032.
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.