Getting Started with KataBump
This guide walks you through creating your first server on KataBump.
Prerequisites
Before you begin, make sure you have:
- A Discord account (to create your bot)
- A Discord bot created on the Discord Developer Portal
- Your bot's token (keep it secret!)
Step 1: Create a KataBump Account
- Go to katabump.com
- Click "Get started for free"
- Log in with your Discord account or create an account via email
- Verify your email if necessary
Step 2: Create Your Server
Once logged in to the dashboard:
- Click "Create a server"
- Choose your language:
- Node.js - for JavaScript/TypeScript bots
- Python - for Python bots
- Name your server
- Click "Create"
Runtime Version
The runtime version (Node.js or Python) is not selected during server creation. You can configure it afterwards in the "Startup" tab on control.katabump.com.
Best Practice
Choose the language you're most comfortable with. Node.js is very popular for Discord.js, while Python with discord.py is excellent for beginners.
Step 3: Understand Your Server
Your server has just been created! Here's what you'll see:
- Console: Access logs and control the bot
- Files: Manage your files via the web interface
- Startup: Configure your entry point file and runtime version
- Settings: Server name and SFTP credentials
Step 4: Prepare Your Project
For Node.js
Make sure you have a package.json file with the required dependencies:
{
"name": "my-discord-bot",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"start": "node index.js"
},
"dependencies": {
"discord.js": "^14.14.1"
}
}Important
The package.json file is required. It must contain a start script or an index.js file must exist at the root.
For Python
Make sure you have a requirements.txt file:
discord.py==2.3.2And a main file (e.g. main.py):
import discord
from discord.ext import commands
import os
bot = commands.Bot(command_prefix='!')
@bot.event
async def on_ready():
print(f'Logged in as {bot.user}')
bot.run(os.getenv('DISCORD_TOKEN'))Next Steps
Your server is created! Time to upload your files:
Security
Never store your Discord token directly in your code. Always use environment variables.