Discordボット
GuavaHostでDiscordボットを24時間365日動かす。Node.jsのdiscord.jsやPythonのdiscord.pyのボットの運用、トークンの保護、落ち続けるボットの対処。
Read your Discord bot's logs and find the error
When a bot crashes, stops responding or never comes online, the answer is almost always in its log. This guide shows you how to read the console, make sense of a stack trace or traceback, add logging of your own, and recognise the intent, permission and rate limit errors Discord sends back.
読了時間7分 · discord bots, logs, debugging · 2026年10月21日に更新
Install dependencies for a Discord bot
Your bot's libraries are installed for you when the server starts, from package.json on Node.js or requirements.txt on Python. This guide explains where that step happens, how to pin versions, and what to do when an install fails in the console.
読了時間6分 · discord bots, dependencies, npm · 2026年10月21日に更新
Store data for your Discord bot
Anything your bot keeps in memory is gone the moment it restarts, so levels, warnings and per-server settings need to live somewhere on disk. This guide compares a JSON file, SQLite and a MySQL database from the panel, and shows how to back each one up.
読了時間6分 · discord bots, database, mysql · 2026年10月21日に更新
What Is Discord Bot Hosting and How It Works
Discord bot hosting means running your bot's code on an always-on server so it stays online 24 hours a day, even when your own computer is switched off, and on GuavaHost you run it from your control panel at customer.guavahost.com.
読了時間3分 · discord bots, hosting, 24/7 uptime · 2026年9月24日に更新
Discord Bot Keeps Going Offline? 4 Common Fixes
If your Discord bot keeps dropping offline, it is almost always crashing, running out of memory, hitting a token or intents problem, or simply not being hosted on an always-on server, and this guide walks through each cause and its fix.
読了時間3分 · discord bots, troubleshooting, 24/7 uptime · 2026年9月24日に更新
How to Host a Node.js (discord.js) Bot
This guide walks you through uploading a Node.js bot built with discord.js to your GuavaHost control panel, installing its dependencies from package.json, and starting it with the right command so it runs 24/7.
読了時間3分 · discord bots, node.js, discord.js · 2026年9月24日に更新
How to Host a Python (discord.py) Bot
This guide shows you how to upload a Python bot built with discord.py to your GuavaHost control panel, install its libraries from requirements.txt, and start it so it stays online around the clock.
読了時間3分 · discord bots, python, discord.py · 2026年9月24日に更新
Keeping Your Discord Bot Token Secret and Safe
Your bot token is the password to your bot, so this guide explains how to keep it secret by storing it in your panel's startup settings, never in your code, and what to do the moment it leaks.
読了時間3分 · discord bots, security, token · 2026年9月24日に更新
このカテゴリーのガイドについて
Discordボットのホスティングはゲームサーバーより簡単で、壊れ方も違います。ワールドもプレイヤーもティックレートもありません。あるのは動き続けなければならないプロセス、秘密のままにしておくべきトークン、そしてきれいにインストールされる必要がある依存関係です。このカテゴリーのガイドはその3つを、Node.jsとdiscord.js、Pythonとdiscord.pyの両方で扱います。
ボットがオフラインになり続けるガイドは、多くの人がたどり着く先で、原因はだいたい同じいくつかです。コンソールがすでに説明しているクラッシュ、足りないインテント、レート制限、または再生成されたトークン。トークンをコードとログの外に置いておく話は、そうなる前に読んでおく価値があります。
Host your Discord bot 24/7 From $1.50/mo, with instant setup and DDoS protection.