Skip to content

Latest commit

 

History

History
61 lines (39 loc) · 2.59 KB

README.md

File metadata and controls

61 lines (39 loc) · 2.59 KB

LeaderOS Discord Bot

Allow players to link their accounts and roles, login with Discord account, and reply support tickets on your Discord server. It's completely Open Source!

Learn More

🇺🇸 English: https://help.leaderos.net/free-services/discord-bot

🇹🇷 Türkçe: https://destek.leaderos.com.tr/uecretsiz-hizmetler/discord-bot

Requirements

  • Node.js 16.11.0 or newer is required.
  • Git (for using git clone command) (optional)

Installation

  1. Install Node.js

  2. Install Git

  3. Clone the repository:

git clone https://github.com/leaderos-net/leaderos-discord-bot
  1. Go to the repository folder:
cd leaderos-discord-bot
  1. Install dependencies:
npm install
  1. Rename the .env.example file to .env and configure it. (See the Configuration section below)

  2. Run the bot:

npm run start

Installation Video

Installation Video

Configuration

Key Description
DISCORD_BOT_TOKEN Your bot's token. You can find it in the Discord Developer Portal > Applications > Your Application > Bot
WEBSITE_URL Your website's URL. (https://yourdomain.com)
API_KEY Your Website API key. You can find it in the Dashboard > Settings > API
LANGUAGE The language of the bot. You can find the list of languages in the languages folder.
DEBUG Enable or disable debug mode.
ROLE_SYNC_CACHE_PERIOD Role Sync Cache Period in seconds.