diff --git a/bot.py b/bot.py index 893c69d..684bfea 100644 --- a/bot.py +++ b/bot.py @@ -44,6 +44,7 @@ class HeidiClient(discord.Client): self.matchers["gib Bild von .+$"] = self.show_model_picture self.matchers["Countdown$"] = self.countdown self.matchers["gib Link"] = self.show_link + self.matchers["welche Farbe .+\\?$"] = self.random_color ### Helpers ------------------------------------------------------------------------------------ @@ -146,13 +147,12 @@ class HeidiClient(discord.Client): ] await message.channel.send(random.choice(choices)) + # TODO: Accept multi-word inputs: "Heidi, wähle: Ipp ist dumm, ich bin dumm" async def choose(self, message): """ wähle: