From 84b0362b9f60edc70ff8d474bf018d27e4e92881 Mon Sep 17 00:00:00 2001 From: Siphalor Date: Wed, 27 Jan 2021 15:07:23 +0100 Subject: [PATCH] Add flip pipelin command --- bot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bot.py b/bot.py index f62793e..977e685 100644 --- a/bot.py +++ b/bot.py @@ -237,6 +237,11 @@ async def collect_messages_command(ctx: commands.Context, channel: Optional[disc await ctx.channel.send(embed=embed) +@bot.command(name='flip_pipelin', brief='Flip a pipelin') +async def flip_pipelin_command(ctx: commands.Context): + await ctx.channel.send("Pipelin " + random.choice(['schnel', 'langsam'])) + + def _is_message_valid_for_selection(message: discord.Message, reaction_filter: Optional[str] = None) -> bool: if message.clean_content.strip() == '': return False