Steps
Write down what the bot must do
Make two lists. Posting: alerts, free games, new videos, RSS, emails, website changes, “we're live”. Reacting: slash commands, buttons, giving roles, welcoming members, deleting spam, reading what people type. If everything is on the posting list, you don't need a bot at all.
Only posting? Create a webhook (2 minutes)
In your server open the channel, then Edit Channel → Integrations → Webhooks → New Webhook → Copy Webhook URL. That URL is all a script, n8n or Zapier needs to post into that one channel, with its own name and avatar. Nothing has to stay online on Discord's side, and nobody has to invite a bot. Our webhook beginner guide sends a first message with one curl command.
Pick the job and plug it in
Take a free, tested script for the most common jobs and give it the webhook URL: free games, Twitch live alerts, new YouTube videos, RSS feeds, emails or website changes. The full list is in 13 webhook ideas. Run it on a schedule on your own computer, a Raspberry Pi or GitHub Actions.
Need it to react? Use a hosted bot builder or an existing bot
Commands, buttons, roles and moderation need a real bot account, because a webhook can't read messages or receive clicks. If you can't code, a hosted no-code bot builder or a popular moderation bot is the quickest route: you click “Add to server”, grant permissions and set rules in a dashboard. Check the free plan limits before you build on one; many cap how many flows or runs you get.
Want full control? Make your own bot
Create an application in the Discord Developer Portal, add a bot, copy its token and invite it with the permissions it needs. Then something has to run your bot code all day. That's the step that costs money or effort, so only do it when the two options above can't do the job.
Webhook, hosted builder or your own bot?
| You want to | Webhook | Hosted builder / existing bot | Your own bot |
|---|---|---|---|
| Post alerts, feeds, “we're live”, free games | Yes, best fit | Yes | Yes |
| Post with a custom name and avatar per message | Yes | Depends on the tool | Yes |
| Post in a forum channel or a thread | Yes (thread_name or ?thread_id=) | Usually | Yes |
| Edit or delete its own earlier message | Yes (send with ?wait=true to get the message id) | Usually | Yes |
| Read what members type | No | Yes | Yes |
| Slash commands, clickable buttons | No | Yes | Yes |
| Give roles, welcome or moderate members | No | Yes | Yes |
| Something must stay online | No, only your scheduled script | The provider runs it | Yes, you host it |
| Cost | Free | Free plan, then paid tiers | Free code, paid or self-run hosting |
The webhook rows come from Discord's webhook API documentation: one message holds up to 2,000 characters and up to 10 embeds, a webhook can create a thread in a forum channel or post into an existing thread, and a webhook made from the channel settings can't send interactive components such as buttons.
What we tested, and what happened
On 19 October 2026 we called Discord's real API from a Linux server with curl and Python 3.13 to see exactly what a webhook script runs into. We used made-up webhook ids and tokens, so nothing was posted anywhere.
| Test | What Discord answered |
|---|---|
| POST a message to a webhook that doesn't exist (deleted or mistyped URL) | 404 {"message": "Unknown Webhook", "code": 10015} |
| GET the same URL, to check a webhook before using it | The same 404 Unknown Webhook, so a GET is a safe way to test a URL without posting |
| Webhook id with letters in it (copy-paste error) | {"webhook_id": ["Value \"abc\" is not snowflake."]} |
Empty message {} to a missing webhook | Still Unknown Webhook: Discord checks the URL first, so fix the URL before debugging the message |
| 2,001-character message to a missing webhook | Still Unknown Webhook, for the same reason |
Python urllib with its default User-Agent | 403 with the body error code: 1010, Discord's Cloudflare blocking the request before it reaches the API |
Python urllib with a custom User-Agent header | Got through to the API (here the normal Unknown Webhook) |
| Reading a channel's messages with no bot token | 401 {"message": "401: Unauthorized", "code": 0}: a webhook URL gives no way to read a channel |
Every webhook response also carried rate-limit headers (x-ratelimit-limit: 5, x-ratelimit-reset-after: 1), so a script that posts a burst of alerts should pause between messages and wait when it gets a 429. All of our free agents already send a custom User-Agent and pause between posts.
Common mistakes
- Inviting a bot for a job a webhook does. A free game or Twitch alert doesn't need a bot with access to your whole server.
- Sharing the webhook URL. Anyone who has it can post in that channel. If it leaks, delete the webhook and create a new one.
- Python script gets
403 error code: 1010. Add aUser-Agentheader, for examplemy-alerts/1.0. Unknown Webhookafter it worked yesterday. Someone deleted the webhook or the channel. Create a new one and update the URL.
Free webhook agents, no bot needed
Thirteen tested, MIT-licensed agents that post to Discord (or Telegram) with a webhook: free games, Steam price drops, Twitch, RSS, Reddit keywords, GitHub releases, emails, website changes and more. Each comes as a Python script and an n8n workflow.
Start from a working agent
FAQ
Can I make a Discord bot without coding?
Yes. If it only needs to post messages, use a channel webhook with a ready-made script or an n8n workflow; there is no bot to create. If it must answer commands, give roles or moderate, use a hosted no-code bot builder or an existing moderation bot that you add to your server.
What is the difference between a Discord bot and a webhook?
A webhook is a URL that can only post messages into one channel. A bot is an account that joins your server and can read messages, answer slash commands, react to buttons and manage members, but it needs a token and code running somewhere all the time.
Do I need to host anything for Discord notifications?
Not on Discord's side. A webhook works whenever your script runs, so a scheduled task on your computer, a Raspberry Pi or a free GitHub Actions schedule is enough.
Can a webhook reply to messages or slash commands?
No. A webhook can't read the channel and can't receive commands or button clicks. It can post, edit and delete its own messages, and create threads in forum channels.
Why does my Python script get 403 error code 1010 from Discord?
In our test, Python's built-in urllib with its default User-Agent was blocked with that exact error before reaching Discord's API. Sending a custom User-Agent header fixed it.
Is a Discord webhook free?
Yes. Webhooks are part of Discord itself, and server admins (or anyone with Manage Webhooks) can create them at no cost.
Related guides
- 13 Discord webhook automation ideas you can set up without a bot
- Twitch live notifications in Discord without a bot (free webhook script)
- Send GitHub releases, issues and pull requests to Discord (no bot)
- How to get free Epic Games alerts in Discord (no bot hosting)
- n8n Code node errors: "Code doesn't return items properly" and 10 more, fixed
New guides
- GitHub release notifications in Slack (any public repo, stable releases only)
- Send RSS feeds to Slack with a keyword filter (free, incoming webhook)
- Forward emails to a Slack channel (Gmail, Outlook, any IMAP), free with an incoming webhook
- n8n Google Sheets Trigger not working: not firing, activation errors and fixes