diff --git a/twitchbot/armin.py b/twitchbot/armin.py deleted file mode 100644 index 93f1eb96e5f6d66e8e692bf1d7397d1b863b7637..0000000000000000000000000000000000000000 --- a/twitchbot/armin.py +++ /dev/null @@ -1,35 +0,0 @@ -import random -from datetime import datetime, timedelta - -from twitchio.ext import commands - - -class Armin(commands.Cog): - def __init__(self, bot): - self.bot = bot - self.a = ["ein", "zwei", "drei", "vier", "fünf", "sechs"] - self.b = ["tägige", "wöchige", "monatige", "fache", "malige", "hebige"] - self.c = ["harte", "softe", "optionale", "intransparente", "alternativlose", "unumkehrbare"] - self.d = ["Wellenbrecher-", "Brücken-", "Treppen-", "Wende-", "Impf-", "Ehren-"] - self.e = ["Lockdown", "Stopp", "Maßnahme", "Kampagne", "Sprint", "Matrix"] - self.f = ["zum Sommer", "auf Weiteres", "zur Bundestagswahl", "2030", "nach den Abiturprüfungen", - "in die Puppen"] - self.g = ["sofortigen", "nachhaltigen", "allmählichen", "unausweichlichen", "wirtschaftsschonenden", - "willkürlichen"] - self.h = ["Senkung", "Steigerung", "Beendigung", "Halbierung", "Vernichtung", "Beschönigung"] - self.i = ["Infektionszahlen", "privaten Treffen", "Wirtschaftsleistung", "Wahlprognosen", "dritten Welle", - "Bundeskanzlerin"] - self.arminsagt_cooldown = datetime.now() - - @commands.command(name="arminsagt") - async def cmd_arminsagt(self, ctx): - if datetime.now() > self.arminsagt_cooldown: - self.arminsagt_cooldown = datetime.now() + timedelta(minutes=1) - rNum = random.randint(0, 5) - n = "n" if rNum not in [2, 3, 5] else "" - await ctx.send(f"Was wir jetzt brauchen, ist eine{n} {random.choice(self.a)}{random.choice(self.b)}{n} " - f"{random.choice(self.c)}{n} {random.choice(self.d)}{self.e[rNum]} " - f"bis {random.choice(self.f)} zur {random.choice(self.g)} {random.choice(self.h)} " - f"der {random.choice(self.i)}.") - else: - await ctx.send("Sorry, aber Armin denkt noch nach...") diff --git a/twitchbot/scarecounter.py b/twitchbot/scarecounter.py deleted file mode 100644 index 025656d49643894c77148a8f3b34e0ab982019d8..0000000000000000000000000000000000000000 --- a/twitchbot/scarecounter.py +++ /dev/null @@ -1,16 +0,0 @@ -from twitchio.ext import commands - - -class ScareCounter(commands.Cog): - def __init__(self, bot): - self.bot = bot - self.scarecount = 0 - - @commands.command(name="scarecount") - async def cmd_scarecount(self, ctx, add=None): - if add == "++": - self.scarecount += 1 - elif add == "--": - self.scarecount -= 1 - - await ctx.send(f"Shawna und Marcus haben sich schon {self.scarecount} mal geBRRRRRRRRt 👻👻👻") diff --git a/twitchbot/strolchibot.py b/twitchbot/strolchibot.py index b81196b153f4bc9ed629d6b0e91b24e6fcaa557c..1c1941ccbd3aed6cee39b41989e92cd43bc190d3 100644 --- a/twitchbot/strolchibot.py +++ b/twitchbot/strolchibot.py @@ -9,12 +9,10 @@ from twitchio import Channel, Message from twitchio.ext import commands from twitchio.ext.commands import Context -import armin import chat_commands import giveaway import klassenbuch_cog import link_protection -import scarecounter import spotify_cog import vote_cog @@ -39,8 +37,6 @@ class StrolchiBot(commands.Bot, ABC): self.add_cog(klassenbuch_cog.KlassenbuchCog(self)) self.add_cog(spotify_cog.SpotifyCog(self)) self.add_cog(link_protection.LinkProtection(self)) - self.add_cog(armin.Armin(self)) - self.add_cog(scarecounter.ScareCounter(self)) self.add_cog(giveaway.Giveaway(self)) self.add_cog(chat_commands.Commands(self))