update survey text
This commit is contained in:
parent
98f491860d
commit
7e4e23bdea
1 changed files with 2 additions and 2 deletions
|
@ -32,10 +32,10 @@ bot = discord.Bot(description=None)
|
|||
async def on_ready():
|
||||
print("Bot ready on Version %s..." % discord.__version__)
|
||||
# build survey
|
||||
po = discord.Poll(question="Wie habt ihr nächste Woche Zeit?", answers=[discord.PollAnswer(text="Montag", emoji="1\u20E3"), discord.PollAnswer(text="Dienstag", emoji="2\u20E3"), discord.PollAnswer(text="Mittwoch", emoji="3\u20E3"), discord.PollAnswer(text="Donnerstag", emoji="4\u20E3"), discord.PollAnswer(text="Freitag", emoji="5\u20E3"), discord.PollAnswer(text="Samstag", emoji="6\u20E3"), discord.PollAnswer(text="Sonntag", emoji="7\u20E3"), discord.PollAnswer(text="keine Zeit", emoji="❌")], duration=runtime, allow_multiselect=True)
|
||||
po = discord.Poll(question="Habt ihr nächsten Dienstag Zeit?", answers=[discord.PollAnswer(text="Ja", emoji="✅"), discord.PollAnswer(text="keine Zeit", emoji="❌")], duration=runtime, allow_multiselect=False)
|
||||
# send message
|
||||
msg = await bot.get_channel(survey_channel).send(content="||%s||"% bot.get_guild(guild_id).get_role(mention_id).mention ,poll=po)
|
||||
await msg.create_thread(name="Diskussion")
|
||||
# await msg.create_thread(name="Diskussion")
|
||||
# close connection
|
||||
await bot.close()
|
||||
|
||||
|
|
Loading…
Reference in a new issue