Skip to content
codemilo-uiPublic

About

A feature rich discord bot

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

CB42

CB42 is a modern Discord community bot built for Python 3.13 and Nextcord 3.2.0.

Setup

  1. Install Python 3.13.
  2. Run install.bat.
  3. Copy .env.example to .env.
  4. Put the bot token in DISCORD_TOKEN.
  5. Enable Server Members Intent and Message Content Intent in the Discord Developer Portal.
  6. Invite the bot with the bot and applications.commands scopes.
  7. Run start.bat or python main.py.

SQLite is created automatically at data/cb42.sqlite3. There is no database server, account, password, or manual schema setup.

Set TEST_GUILD_ID to a server ID you control while developing. Leave it blank for global application commands.

Features

Interactive help uses a category selector and buttons. Server administration uses an interactive dashboard with live settings. Fun commands use reroll controls. Moderation actions use confirmation controls and context-menu support. Warns, moderation logs, XP, command usage, feedback, server settings, and polls are stored locally.

The poll system uses persistent buttons and restores active polls after a restart.

Commands

Information: /help, /usage, /uptime, /ping, /membercount, /avatar, /serverinfo, /userinfo, /invite, /credits, /botinfo

Fun: /dog, /cat, /dice, /eightball, /meme, /fact, /topic, /showerthought, /poll, /feedback

Leveling: /rank, /leaderboard

Moderation: /warn, /warnings, /clear-warnings, /modlogs, /mute, /purge, /slowmode, /addrole, /removerole, /kick, /ban, /unban

Server: /dashboard, /settings, /set-welcome-channel, /set-leave-channel, /set-log-channel, /set-auto-role, /toggle-welcome, /toggle-swear, /toggle-links, /toggle-xp

Context menus: User Info, Warn User

About

A feature rich discord bot

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages