Skip to content

0-don/coding.global-bot

Repository files navigation

Logo

coding.global Discord Bot!

The official bot for the discord.gg/coding Discord Server.
» Explore the docs
· Report Bug · Request Feature

Setup

Prerequisites

  1. Discord Bot Token from the Discord Developer Portal
  2. PostgreSQL database (run one locally, use Docker, or any hosted provider)
  3. Bun runtime

Getting Started

  1. Copy .env.example to .env and fill in your bot token and database credentials.

  2. Install dependencies and push the database schema:

    bun install
    bun run db:push
  3. Start the bot:

    bun run dev
  4. Run !verify-users in Discord to sync all server members with the database.

Commands

Prefix Commands

Command Description
!verify-users Sync all server members with the database (required on first run)
!verify-threads Sync thread templates

Public

Command Description Options
/me Get your stats
/user Get stats from a specific user user
/top Get top stats for the guild lookback (optional)
/members Member flow and count
/translate Translate text to English text
/lookback-me Change your lookback date range lookback

Mod (Manage Roles)

Command Description Options
/delete-messages Delete messages from a channel amount
/delete-user-messages Delete messages from a specific user user, user-id, jail, reason
/delete-member-db Remove a member from the server database user
/lookback-members Change lookback date range for the guild lookback
/log-command-history Show command history count (optional)
/log-deleted-messages-history Show deleted messages count (optional)

Admin

Command Description Options
/troll-move-user Move user around empty voice channels user, count, timeout
/audit-roles Audit all roles for elevated permissions

Releases

No releases published

Packages

 
 
 

Contributors