Some more options for randomly selected answers
This commit is contained in:
9
bot.py
9
bot.py
@ -122,7 +122,7 @@ def user_entrance_sound_autocomplete(
|
|||||||
all_sounds: Dict[str, List[str]] = {
|
all_sounds: Dict[str, List[str]] = {
|
||||||
board: list(map(lambda x: x.split(".")[0], os.listdir(f"{SOUNDDIR}/{board}/")))
|
board: list(map(lambda x: x.split(".")[0], os.listdir(f"{SOUNDDIR}/{board}/")))
|
||||||
for board in boards
|
for board in boards
|
||||||
} # These are all sounds, organized per board
|
} # These are all sounds, organized per board, without file extension
|
||||||
|
|
||||||
# @todo Initially only suggest boards, because there are too many sounds to show them all
|
# @todo Initially only suggest boards, because there are too many sounds to show them all
|
||||||
completions: List[Choice[str]] = []
|
completions: List[Choice[str]] = []
|
||||||
@ -188,6 +188,10 @@ async def heidi_exclaim(interaction: Interaction) -> None:
|
|||||||
"Warum denn so schüchtern?",
|
"Warum denn so schüchtern?",
|
||||||
"Im TV ist das legal!",
|
"Im TV ist das legal!",
|
||||||
"Das Stroh ist nur fürs Shooting!",
|
"Das Stroh ist nur fürs Shooting!",
|
||||||
|
"Jetzt sei doch mal sexy!",
|
||||||
|
"Stell dich nicht so an!",
|
||||||
|
"Models müssen da halt durch!",
|
||||||
|
"Heul doch nicht!"
|
||||||
]
|
]
|
||||||
await interaction.response.send_message(random.choice(messages))
|
await interaction.response.send_message(random.choice(messages))
|
||||||
|
|
||||||
@ -208,14 +212,13 @@ async def magic_shell(interaction: Interaction, question: str) -> None:
|
|||||||
"Klaro Karo",
|
"Klaro Karo",
|
||||||
"Offensichtlich Sherlock",
|
"Offensichtlich Sherlock",
|
||||||
"Tom sagt Ja",
|
"Tom sagt Ja",
|
||||||
|
|
||||||
"Nein!",
|
"Nein!",
|
||||||
"Nö.",
|
"Nö.",
|
||||||
"Nä.",
|
"Nä.",
|
||||||
"Niemals!",
|
"Niemals!",
|
||||||
"Nur über meine Leiche du Hurensohn!",
|
"Nur über meine Leiche du Hurensohn!",
|
||||||
"In deinen Träumen.",
|
"In deinen Träumen.",
|
||||||
"Tom sagt Nein"
|
"Tom sagt Nein",
|
||||||
]
|
]
|
||||||
question = question.strip()
|
question = question.strip()
|
||||||
question_mark = "" if question[-1] == "?" else "?"
|
question_mark = "" if question[-1] == "?" else "?"
|
||||||
|
Reference in New Issue
Block a user