Skip to content

About

Agentic Discord Bot Moderator to handle server level actions, built with vercel's AI and AI SDK

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

Axiom

A Discord moderation bot powered by AI (NVIDIA NIM + Discord.js).

Features

  • AI-powered moderation: uses a language model to understand context and take appropriate actions
  • Ban/unban: users
  • Timeout (mute)/remove timeout
  • Bulk delete: messages
  • Warn users: via DM
  • Create/delete/assign roles
  • Create/delete/edit/move text channels
  • Manage channel permissions: (allow/deny for users or roles)
  • Pin/unpin messages
  • Read channel messages: and fetch recent context
  • Search: members, roles, and channels

Prerequisites

Installation

# Clone the repository
git clone <repo-url>
cd axiom

# Install dependencies
pnpm install

# Configure environment
cp .env.example .env

Edit .env and set your tokens:

DISCORD_BOT_TOKEN=your_discord_bot_token
NIM_API_KEY=your_nim_api_key

Usage

pnpm dev

The bot will start and listen for Discord commands. Mention it in a channel to interact.

Tech Stack

  • Runtime: Node.js, TypeScript
  • AI SDK: Vercel AI SDK (ai) + @ai-sdk/openai-compatible
  • Discord: discord.js v14
  • LLM Backend: NVIDIA NIM API

Configuration

Edit src/bot.config.ts to adjust model context message count, and other settings.

About

Agentic Discord Bot Moderator to handle server level actions, built with vercel's AI and AI SDK

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages