Skip to content

Codex discord bot that helps users interact with Codex network

Notifications You must be signed in to change notification settings

codex-storage/discord-bot

Repository files navigation

Discord Bot

Prerequisites

  • Docker and Docker Compose (for Docker deployment)
  • Node.js and npm (for local deployment)

Installation

Option 1: Running with Docker (Recommended)

  1. Install Docker and Docker Compose on your system
  2. Create a .env file with your environment variables:
DISCORD_BOT_TOKEN=your_discord_bot_token
SUPABASE_URL=your_supabase_url
SUPABASE_SERVICE_ROLE_KEY=your_supabase_key
  1. Build and run the container:
docker-compose up -d

To view logs:

docker-compose logs -f

To stop the bot:

docker-compose down

Option 2: Running Locally

  1. Install Node.js dependencies:
npm install
  1. Create a .env file in the root directory with your environment variables
  2. Start the bot:
node index.js

About

Codex discord bot that helps users interact with Codex network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published