Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.4 KB

README.md

File metadata and controls

59 lines (39 loc) · 1.4 KB

discord-cbl

Overview

discord-cbl is a Discord bot designed to check the Community Ban List (CBL) history for a given SteamID. The bot uses GraphQL to fetch data from the Community Ban List and provides detailed information about a user's reputation, risk rating, and ban history.

Features

  • 🚀 Fetch CBL history for any SteamID with lightning speed
  • 🌟 Display reputation points, risk rating, risk ranking, and active/expired ban counts
  • 🔒 Show both active and expired bans with detailed information
  • 🧵 Automatically create a thread for expired bans to keep your channels organized

## Discord Server Installation

Commands

/cbl

Fetch the CBL history for a given SteamID:

  • steamid: The SteamID of the player (required)

Example: image

Developer Installation

  1. Clone the repository:

    git clone https://github.com/sceboucher/discord-cbl.git
    cd discord-cbl
  2. Install dependencies:

    npm install
  3. Configure your environment: Create a .env file in the root directory and add your Discord bot token:

    DISCORD_TOKEN=your_discord_bot_token

Usage

  1. Register the bot commands:

    npm run register
  2. Start the bot:

    npm start