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

View File

@@ -2,12 +2,13 @@ import discord, json, os, random, re
import collections
from discord.ext import commands
from setup.logger import LOGGER
from setup.config import Config
class InsultsCog(commands.Cog):
def __init__(self, bot:discord.Bot):
self.bot = bot
with open(os.path.join("data", "insults.txt")) as f:
with open(os.path.join(Config.CONFIG_PATH, "insults.txt")) as f:
self.insults = [l.strip() for l in f.readlines()]
@commands.Cog.listener()