From 2bdd7abc054d5272f07fd64cbcac98a12afb341a Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Tue, 1 Feb 2022 19:21:28 +0100 Subject: [PATCH] create threads on votes and surveys --- bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot.py b/bot.py index 30013e1..a35cbc2 100644 --- a/bot.py +++ b/bot.py @@ -195,6 +195,7 @@ async def survey(ctx, *, arg): if a < z and a != 0: await ask_msg.add_reaction(x) a = a + 1 + await ask_msg.create_thread(name="Diskussion") @bot.command(help="Umfrage bearbeiten", usage="ID | | | ...", hidden=True) @is_member() @@ -225,6 +226,7 @@ async def vote(ctx, *, arg): ask_msg = await ctx.send(content="||@here||",embed=em) for x in ["✅", "❔", "❌"]: await ask_msg.add_reaction(x) + await ask_msg.create_thread(name="Diskussion") @bot.command(help="den Bot etwas sagen lassen", usage="") @is_admin()