// the toolkit

Everything kesarAI ships with.

Moderation, AI assistants, logging, levels, an economy, tickets, fun, and a setup hub. 150+ slash commands, one install.

// the pillars

Six systems, all wired up.

Every section below is shipping in production.

/ask — the conversational layer

Multi-turn chat with four server tools.

Triggered by /ask, by typing `ksr` at the start of a message, by @mentioning the bot, or by replying to one of its messages. Conversations persist per-user until /forget. Responses stream; a user-scoped retry view replays the generation if it needs another pass.

Four server-side tools the model can call: read_messages searches and quotes prior channel history, get_member looks up users and their roles, get_role pulls role info, web_search reaches outside Discord for current info. The intent router picks tools server-side from the message before the model sees them.

Adjacent commands share the same engine: /think (Gemini Pro, single-turn deep reasoning), /summarise (recent-chat distillation), /forget (clears your conversation), /quota (your remaining AI point budget).

ksr …/ask/think/summarise/forget/quota

AI moderation

Fallacy detection, mod recommendations, agentic mod.

/fallacy scans message history for logical fallacies (strawman, ad hominem, slippery slope, etc.) and quotes the offending lines. /modadvice reads recent channel activity and proposes graduated responses with citations.

/modai is the agentic layer — a planner-and-executor with 49 tools and a curated knowledge base. It proposes a moderation plan, a moderator confirms before any action runs. Shares the universal per-user point budget so usage is bounded.

/fallacy/modadvice/modai

Audit logging

Indexed case log plus a native-audit mirror.

Every moderation event is written to an aiosqlite DB (WAL mode) under a case number. Searchable by user / action / moderator / date. Per-mod aggregates. CSV, JSON, and TXT exports.

Discord's native audit log is mirrored into channels you configure — embed-only, no DB cost. Retention is policy-driven and runs on a schedule.

/logs case/logs search/logs stats/logs export/logs config/logs retention/logs note

Economy

Full RPG layer under /koins.

Eight PvE zones with daily-rotating bosses. Weekly tournaments. PvP duels. A daily quest board. Jobs and investments that yield over time.

Loot is crate-driven: open crates, get shards, spend shards in a rotating market or at the forge for crafting and rerolls. Battles resolve in a single bot message — the depth is in the systems around them.

/koins battle hunt/koins battle duel/koins crate open/koins forge craft/koins market/koins quest daily/koins jobs/koins invest

Verification

Ticket-based onboarding with HTML transcripts.

New members open a private verification ticket. The mod team sees who they are, when they joined, who invited them, and any matches in the spy index.

Closed tickets save dual HTML / TXT transcripts and stay around for 30 minutes before delete, so transcripts can be grabbed or the conversation can be reopened. The cleanup cog watches for inactivity and surfaces a delete-inactive button.

/verify/ticket setup/ticket dashboard/ticket close/ticket transcript/ticket cleanup/spycheck

The wide layer

150+ slash commands, in the install.

Moderation primitives (ban, kick, timeout, slowmode via permission overwrites rather than channel-wide timeouts). Levels with role rewards and multipliers. Role menus. Info commands. Invite tracking with per-guild concurrency locks. Polls and leaderboards. Channel transcripts.

Fun layer (RPS, Connect Four, emoji trivia) shares a single atomic-write scoring file. None of this is paywalled.

/quicksetup/rolemenu create/rank leaderboard/poll create/transcript/say/rps/connect4

Setup

One panel, every system.

/quicksetup wires moderation tiers, logging channels, verification, level rewards, ticket categories, AI quotas, mod-permission grids, and spy-check toggles. Channel picks use ChannelSelect. Role picks use RoleSelect. Member picks use UserSelect. Toggles are buttons.

Configuration lives in a single SQLite database (WAL mode), keyed per-guild. Old JSON files migrate on first startup and rename to .bak.

/quicksetup/setup moderation/setup logs/setup tickets/setup spycheck/level setup/ailimits

// every slash

Full command catalogue.

Grouped by category. Every command is a real slash command in the bot.

AI

10

Gemini-backed assistants, scoped by a per-user point budget.

ksr …/ask/think/summarise/fallacy/modadvice/modai/forget/quota/ailimits

Moderation

11

Two-tier permission system. Mod role grids. Permanent roles + role bans.

/ban/kick/timeout/warn/slowmode/say/modperm/permrole/roleban/spycheck/quicksetup

Logging

8

Audit DB plus a live mirror of Discord's native audit log.

/logs case/logs search/logs stats/logs export/logs note/logs config/logs retention/logs discord

Levels

6

Chat-based XP. Role rewards, multipliers, leaderboards.

/rank/rank leaderboard/level setup/level rewards/level multiplier/level reset

Economy

11

Battles, crates, shards, jobs, investments. All under /koins.

/koins balance/koins daily/koins battle hunt/koins battle duel/koins crate open/koins forge craft/koins market/koins quest daily/koins jobs/koins invest/koins leaderboard

Tickets

7

Verification + general support. HTML transcripts, delayed delete.

/verify/ticket setup/ticket dashboard/ticket close/ticket transcript/ticket cleanup/ticket info

Fun

4

Lightweight games. Shared atomic-write scoring.

/rps/connect4/emojitrivia/poll create

Utility

8

Setup hubs, transcripts, invite tracking, info, help.

/quicksetup/setup hub/transcript/invites/userinfo/serverinfo/rolemenu create/help

// configure

Configure from the dashboard.

Channel pickers, role grids, AI quotas, level rewards — every setting kesarAI exposes, in one place.