Skip to content

Instantly share code, notes, and snippets.

View Sybsuper's full-sized avatar
🟠
Always Coding

Sybsuper Sybsuper

🟠
Always Coding
View GitHub Profile
@Sybsuper
Sybsuper / autojoin.py
Last active February 22, 2026 11:34
Lichess Auto Join Bot Tournaments
import requests, json
TEAM_ID = "daily-bot-tournaments"
BEARER_TOKEN = "your_lichess_bearer_token_here"
def join_team_tournaments():
arena_url = f"https://lichess.org/api/team/{TEAM_ID}/arena?status=created"
resp = requests.get(arena_url)
resp.raise_for_status()
tournaments = [