Your Ultimate Gaming & Crypto Companion

10+ Commands
24/7 Support

Chips.gg Chat Bot 🎮

A powerful Discord and Telegram bot for the Chips.gg gaming platform that brings real-time gaming information directly to your community.

✨ Features

Real-time Gaming Information

Player Stats & Rankings

Platform Updates

Community Tools

🚀 Getting Started

Prerequisites

Environment Setup

Create a .env file with:

HTTP_PORT=3000          # Web interface port
CHIPS_TOKEN=your_token  # Chips.gg API token
DISCORD_TOKEN=your_token       # Discord bot token
TELEGRAM_TOKEN=your_token      # Telegram bot token
alertInterval=60000            # Alert interval in milliseconds
alertMinimumDollar=1000       # Minimum dollar amount for alerts
alertMinimumMultiplier=100    # Minimum multiplier for alerts

Quick Start

  1. Install dependencies:
npm install
  1. Start the bot:
npm start

🔐 Authentication

Link your platform account:

  1. Enable 2FA/TOTP on your Chips.gg account
  2. Use: /auth username:YOUR_USERNAME totp:YOUR_CODE
  3. Wait for confirmation of successful linking

🌐 HTTP API

Access bot features via HTTP endpoints:

Main Endpoints

GET /

Home page with documentation

GET /commands

List all bot commands

GET /api/command/:name

Execute bot commands via HTTP

Parameters:

Example Response:

{
  "emoji": "💰",
  "title": "Cryptocurrency Prices",
  "content": "BTC: $50,000\nETH: $3,000\nTRX: $0.08",
  "buttonLabel": "Trade Now",
  "url": "https://chips.gg/exchange"
}

API Usage Examples

Using cURL:

curl http://0.0.0.0:3000/api/command/prices
curl http://0.0.0.0:3000/api/command/user?username=chips

Using JavaScript:

fetch('http://0.0.0.0:3000/api/command/slotcall')
  .then(response => response.json())
  .then(data => console.log(data));

💬 Support

Join our communities:

Explore Commands