create threads on votes and surveys
This commit is contained in:
parent
f16d9d818a
commit
2bdd7abc05
1 changed files with 2 additions and 0 deletions
2
bot.py
2
bot.py
|
@ -195,6 +195,7 @@ async def survey(ctx, *, arg):
|
||||||
if a < z and a != 0:
|
if a < z and a != 0:
|
||||||
await ask_msg.add_reaction(x)
|
await ask_msg.add_reaction(x)
|
||||||
a = a + 1
|
a = a + 1
|
||||||
|
await ask_msg.create_thread(name="Diskussion")
|
||||||
|
|
||||||
@bot.command(help="Umfrage bearbeiten", usage="ID | <Frage> | <Antwort1> | <Antwort2> ...", hidden=True)
|
@bot.command(help="Umfrage bearbeiten", usage="ID | <Frage> | <Antwort1> | <Antwort2> ...", hidden=True)
|
||||||
@is_member()
|
@is_member()
|
||||||
|
@ -225,6 +226,7 @@ async def vote(ctx, *, arg):
|
||||||
ask_msg = await ctx.send(content="||@here||",embed=em)
|
ask_msg = await ctx.send(content="||@here||",embed=em)
|
||||||
for x in ["✅", "❔", "❌"]:
|
for x in ["✅", "❔", "❌"]:
|
||||||
await ask_msg.add_reaction(x)
|
await ask_msg.add_reaction(x)
|
||||||
|
await ask_msg.create_thread(name="Diskussion")
|
||||||
|
|
||||||
@bot.command(help="den Bot etwas sagen lassen", usage="<text>")
|
@bot.command(help="den Bot etwas sagen lassen", usage="<text>")
|
||||||
@is_admin()
|
@is_admin()
|
||||||
|
|
Loading…
Reference in a new issue