cleanup
This commit is contained in:
11
bot.py
11
bot.py
@ -1,6 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from asyncio.tasks import wait_for
|
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
from discord.message import Message
|
from discord.message import Message
|
||||||
@ -258,16 +257,6 @@ class QuizClient(discord.Client):
|
|||||||
|
|
||||||
await self.channel.send("Quiz vorbei!")
|
await self.channel.send("Quiz vorbei!")
|
||||||
|
|
||||||
# Ablauf:
|
|
||||||
# - post question to quiz-channel and all private player channels
|
|
||||||
# - players post answers in private bot-channel
|
|
||||||
# - answer multiple choice with a, b, c, d emojis
|
|
||||||
# - bot reacts with green checkmark after everyone answered, then quizmaster can close with checkmark
|
|
||||||
# - print answer with player emojis
|
|
||||||
# - set winners by choosing the right emoji
|
|
||||||
#
|
|
||||||
# - track the points and make graphs
|
|
||||||
|
|
||||||
|
|
||||||
async def show_scores(self, message):
|
async def show_scores(self, message):
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user