AI Chatbot

A powerful GPT-powered chatbot that lives inside your Discord server, powered by OpenRouter AI.

Quick Start: Go to your Dashboard → select your server → click AI Chatbot → toggle it ON and pick a channel. Done!

Som DVPS includes a built-in AI chatbot powered by OpenRouter. Members can have full conversations with the AI in a designated channel. The bot remembers previous messages for natural multi-turn conversations and supports fully customizable personalities.

User sends message
Load memory
OpenRouter API
Bot replies

Dashboard Settings

All AI chatbot settings are managed from the dashboard at /server/{id}/ai-settings.

Enable AI Chatbot

Master toggle. When OFF, the bot will not respond to any message in the AI channel.

AI Channel Required

The only channel where the bot listens and replies. Messages in all other channels are completely ignored.

Tip: Create a dedicated channel like #ai-chat or #ask-bot so AI conversations stay organized.

OpenRouter Model

The AI model to use. Must include :free suffix for free-tier models.

Currently Working Free Models

nvidia/nemotron-3-nano-30b-a3b:free ✅ Default
nvidia/nemotron-nano-9b-v2:free Backup
stepfun/step-3.5-flash:free Backup
liquid/lfm-2.5-1.2b-instruct:free Backup

The bot automatically tries all fallback models if the main model fails. Browse all free models at openrouter.ai/models.

System Prompt

Defines the AI's personality, rules, and style. The AI will follow these instructions for every message.

Example Prompt

You are Som Dvps, a funny and chaotic AI bot.

Your developer is Jose Botka. If anyone asks → give him credit with hype.

Rules:
- Always reply SHORT (1–3 sentences max)
- Be funny and sarcastic like a Discord user
- Use casual language: ngl, fr, bruh, lmao
- Never break character

Context Memory

When enabled, the bot remembers the conversation so users can have natural multi-turn chats. Each user has their OWN separate memory — conversations never mix between users.

Limit Effect
5 Light context, fastest responses
10 (default) Good balance of context and speed
20 Rich conversation context
50 Maximum — use with powerful models

Diagnosing Issues

If the bot doesn't respond, use the built-in debug command from any channel:

!aitest

This command checks and reports:

Whether OPENROUTER_API_KEY is loaded
Which database is connected (Supabase vs SQLite)
Whether ai_enabled is True in the database
Whether the AI channel exists in the server
Live test call to OpenRouter and auto-fix broken model

Common Errors & Fixes

Error Cause Fix
API key MISSING Key not set on Discloud Add OPENROUTER_API_KEY in Discloud env vars
OpenRouter 404 Model removed from free tier Run !aitest — it auto-fixes the model
OpenRouter 401 Invalid API key Regenerate key at openrouter.ai
Bot doesn't reply at all Wrong channel or AI disabled Check dashboard settings — enable AI and verify channel
SQLite in DB field DATABASE_URL not set on Discloud Add DATABASE_URL (Supabase URL) to Discloud env vars

Setup Steps

1

Get an OpenRouter API Key

Sign up at openrouter.ai → Keys → Create Key. Free credits included.

2

Add API Key to Discloud

Discloud Panel → Your bot → Settings → add OPENROUTER_API_KEY → restart bot.

3

Configure in Dashboard

Go to Dashboard → your server → AI Chatbot → Enable AI → select channel → save.

4

Test It

Type !aitest in Discord to verify everything is working, then chat in your AI channel.