Skip to content

LMol-4/Lichess-Discord-Status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lichess-Discord-Status

Translate your Lichess activity into your Discord status. Logo

This project allows you to display your current Lichess status directly on your Discord profile using Rich Presence. It automatically updates whether you are online or in a game, and provides links to your profile or the current game.

Playing

Features

  • Dynamic Status: Shows if you are online or currently in a Lichess match.
  • Profile Link: Includes a button on your Discord status linking directly to your Lichess profile.
  • Spectate Button: If you are in a game, a button appears allowing others to spectate your current match.

Installation

pip install -r requirements.txt

Configuration

  1. Edit config.json and replace "yourLichessUsername" with your actual Lichess username:

    {
      "lichessUsername": "yourLichessUsername",
      "debugMode": 0
    }
  2. (Optional) To enable debug mode, change "debugMode": 0 to "debugMode": 1.

Usage

After installing the requirements and configuring config.json, run the main Python script:

python main.py

Batch File (Optional)

For added convenience, I included a batch file, open_lichess.bat, that automatically:

  1. Opens lichess.org in your default web browser.
  2. Launches the main.py script to start updating your Discord status.

You can create a shortcut to this batch file for easy access.

About

Translate your Lichess activity into your Discord status.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors