feat: Add Russian Roulette feature betwwen two players
Some checks failed
CD / Deploy to VPS (push) Has been cancelled

This commit is contained in:
2026-07-14 16:12:16 +02:00
parent 78d3a60bd7
commit d14ca4ab3e
8 changed files with 341 additions and 128 deletions

18
setup/config.py Normal file
View File

@@ -0,0 +1,18 @@
import os
from dotenv import load_dotenv
class Config:
load_dotenv()
TOKEN = str(os.getenv("TOKEN", ""))
CONFIG_PATH = str(os.getenv("CONFIG_PATH"))
COGS = os.getenv("COGS", "")
@classmethod
def get_cogs(cls):
raw_value = cls.COGS.strip()
if not raw_value:
return None
return [item.strip().lower() for item in raw_value.split(",") if item.strip()]