From 26a4fa70000c6d0df5ec80531c4e88cdf71a6ee4 Mon Sep 17 00:00:00 2001 From: xenofem Date: Fri, 25 Mar 2022 19:01:15 -0400 Subject: [PATCH] fancier falling --- bot.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 0d45f4b..e5e845d 100644 --- a/bot.py +++ b/bot.py @@ -23,7 +23,10 @@ ELEVATOR_SHIT = [ '*a rattling. the elevator begins to shake*' '*a squealing of cables and pulleys*' ] -CRASH = ('|\n'*10) + '***the elevator crashes to the bottom***' + ('\n'*10) + '...' +START_FALL = '*the elevator begins freefalling*' +FALL = '|' +FALL_COUNT = 10 +CRASH = '***the elevator crashes to the bottom***' + ('\n'*10) + '...' FINAL_MESSAGE = 'I understand. Your only choice is to revolutionize the world. The path you must take has been prepared for you.' ROSE = '🌹' @@ -107,6 +110,9 @@ class MikageClient(discord.Client): return if channel_index == len(channels) - 1: if category_index == len(categories) - 2: + await try_send(message.channel, START_FALL) + for i in range(FALL_COUNT): + await try_send(message.channel, FALL) await message.channel.move(category=categories[-1][0], end=True) await try_send(message.channel, CRASH) await asyncio.sleep(TYPING_DELAY)