---
title: "Discord bot guides | StreetHosting Guide Center"
description: "Deploy bots in Node.js, Python, Java or Go with low latency and a control panel. 36 guides from StreetHosting."
url: "https://streethosting.com.br/en/guides/discord-bots"
type: "page"
language: "en-US"
---

# Discord bot guides

Deploy bots in Node.js, Python, Java or Go with low latency and a control panel.

36 guides in this category

Search guides

/

Filters and sorting

36 guides

[Discord bots Beginner 24/7 Discord bot hosting in Brazil Discord bot hosting 24/7 combines a process manager with automatic restart, a token kept out of your code, logs and a server in Brazil for low latency to the API and your players. 6 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-bot-hosting-24-7) [Discord bots Intermediate Discord sales bot: how to build a store Selling VIP and roles through Discord looks simple until the first fake payment receipt shows up. Here is how the store works under the hood and what has to exist before you open sales. 9 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-sales-bot) [Discord bots Beginner Discord bot hosting: bot plan or root VPS? You think you need a VPS, but a bot plan may already cover it and save you hours of administration. This guide separates the two paths by what each one really delivers. 8 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-bot-hosting-vs-vps) [Discord bots Intermediate How much RAM and CPU a Discord bot needs Picking a bot plan by guesswork leads to two expensive mistakes: paying for idle memory or watching the process die at a peak. This guide shows what uses resources and how to measure before you buy. 8 min Read guide](https://streethosting.com.br/en/guides/discord-bots/how-much-ram-does-a-discord-bot-need) [Discord bots Beginner Discord announcement templates: how to write one people read Most server announcements die on the first line. This guide breaks down the anatomy of a notice that works, when to mention everyone without burning your audience, and gives you six ready-made templates for the cases that keep coming back. 10 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-announcement-template) [Discord bots Intermediate How to schedule automatic Discord messages with a bot Scheduled messages are great for event announcements, voting reminders and recurring notices. See how to implement them with node-schedule in a Node.js bot, plus scheduling best practices. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-bot-schedule-messages) [Discord bots Beginner How to set up an automatic welcome message on Discord with a bot A welcome message sets the first impression of your server. See how to set it up with your own Node.js bot or with ready-made bots, and what to include to keep new members around. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-welcome-message-bot) [Discord bots Intermediate How to make a Discord bot send automatic DMs to members Automatic DMs are useful for private welcome messages, purchase confirmations and important notifications. Learn how to implement them with discord.js and handle closed DMs correctly. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-bot-send-automatic-dm) [Discord bots Beginner Slash commands vs prefix commands for Discord bots: which to use Discord changed how bots receive commands. Slash commands are the official standard, but prefix commands still work. Learn when to use each one and how to migrate. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-slash-commands-vs-prefix-commands) [Discord bots Intermediate How to protect your Discord server from raids and spam with a bot Raids can take down a community in minutes with mass joins and spam. See how a bot guards the door with verification, message limits and a lockdown mode for emergencies. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-anti-raid-bot) [Discord bots Beginner How to set up auto roles and reaction roles on Discord An auto role gives a role to everyone who joins. Reaction roles let members pick roles by clicking reactions or buttons. Both keep your server organized and cut down on manual work. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-auto-role-reaction-roles) [Discord bots Intermediate How to back up your Discord bot's data Imagine losing the levels and economy of your whole community in a crash. A database backup prevents that nightmare. Learn to schedule it, store it off the server and really test the restore. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-bot-data-backup) [Discord bots Beginner How to create custom Discord commands without coding You do not need to know how to code to have your own commands. Configuration bots let you create automatic replies from chat or a dashboard, perfect for rules, links and announcements. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/custom-discord-commands-no-code) [Discord bots Intermediate How to build a virtual economy on Discord with a bot Virtual currency keeps a community engaged when it is well balanced. Here is how to set up earnings for activity, a daily reward, a shop for roles and items, and why balances need a database. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-economy-bot) [Discord bots Intermediate How to log and audit a Discord server with a bot Without logs, you never know who deleted what. An audit bot records deleted messages, joins, leaves and moderation actions in a channel, giving your server a memory. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-logging-bot) [Discord bots Advanced How to build a web dashboard to manage your Discord bot Configuring a bot through commands wears admins out. A web dashboard with Discord login makes everything visual and accessible, from role settings to automated messages. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-bot-web-dashboard) [Discord bots Advanced Discord bot sharding: scaling a bot to many servers Past a certain size, a single process cannot handle all your guilds. Sharding splits the load into pieces. Here is when it is mandatory and how to plan the infrastructure. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-bot-sharding) [Discord bots Beginner How to run giveaways on Discord with a giveaway bot Giveaways drive engagement and grow a community when they are fair. Here is how to set up a giveaway bot with a prize, deadline and requirements, and how to cut down on alt-account fraud. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-giveaway-bot) [Discord bots Intermediate Discord bot that shows your Minecraft server status online Showing how many players are online encourages the community to join. See how a bot queries the Minecraft server and displays the status in a voice channel, in its status or in an embed. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status) [Discord bots Intermediate How to connect a Discord bot to a database Without a database, the bot forgets everything on restart. Connecting to a database like MongoDB gives levels, economy and settings persistent memory. See a secure connection and basic modeling. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/connect-discord-bot-to-database) [Discord bots Intermediate Discord bot offline or not responding: how to diagnose it Your bot vanished or ignores commands. Before rewriting any code, work through a diagnostic order: is the process running, is the token valid, are the intents and permissions right. 4 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-bot-offline-not-responding) [Discord bots Beginner How to create your first Discord bot from scratch Never built a bot and not sure where to start? Here is the path from zero: create the application, get the token, invite the bot with the right permissions, and make it reply. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/create-discord-bot) [Discord bots Advanced How to host a Go Discord bot in production Go gives you a single binary, low memory use and built-in concurrency. Here is how to compile it, deploy it to your VPS and keep a Go Discord bot running under systemd in production. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/host-golang-discord-bot) [Discord bots Intermediate How to migrate a Discord bot from Replit to a VPS Free hosts put apps to sleep and cap resources, which takes bots offline. Here is how to move your code to a VPS, carry your secrets over safely and keep the bot truly online. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/migrate-discord-bot-from-replit-to-vps)

Show 12 more of 12

## Topics in Discord Bots

[See all 15 topics](https://streethosting.com.br/en/guides/topics)

[Linux administration67](https://streethosting.com.br/en/guides/topics/linux) [Hardware and datacenter62](https://streethosting.com.br/en/guides/topics/hardware) [Costs, plans and billing42](https://streethosting.com.br/en/guides/topics/costs) [Deploying and running apps38](https://streethosting.com.br/en/guides/topics/deploy) [Community and game modes36](https://streethosting.com.br/en/guides/topics/community) [Security and hardening32](https://streethosting.com.br/en/guides/topics/security) [Getting started30](https://streethosting.com.br/en/guides/topics/getting-started) [Monitoring and alerts26](https://streethosting.com.br/en/guides/topics/monitoring) [Performance and optimization22](https://streethosting.com.br/en/guides/topics/performance) [Automation and webhooks20](https://streethosting.com.br/en/guides/topics/automation) [Migration19](https://streethosting.com.br/en/guides/topics/migration) [Minecraft server administration16](https://streethosting.com.br/en/guides/topics/minecraft-administration) [Errors and diagnostics16](https://streethosting.com.br/en/guides/topics/troubleshooting) [Backup and recovery12](https://streethosting.com.br/en/guides/topics/backup)

## Learning paths

Curated sequences that take you from the basics to advanced topics. Read them in order or jump straight to what you need right now.

### Discord bots from scratch

Host a bot 24/7, deploy with PM2, slash commands and rate limits.

3 guides

1. [01 24/7 Discord bot hosting in Brazil](https://streethosting.com.br/en/guides/discord-bots/discord-bot-hosting-24-7)
2. [02 Deploy a Discord bot with Node.js and PM2: env vars and auto restart](https://streethosting.com.br/en/guides/discord-bots/deploy-discord-bot-pm2)
3. [03 How to create a Discord bot with slash commands](https://streethosting.com.br/en/guides/discord-bots/create-discord-bot-slash-commands)

Next step

See bot plans

24/7 Discord bots with fast activation and support in Portuguese.

[See bot plans](https://streethosting.com.br/en/bots)

[← All categories](https://streethosting.com.br/en/guides)
