fancier falling
This commit is contained in:
parent
b702aaa475
commit
26a4fa7000
8
bot.py
8
bot.py
|
@ -23,7 +23,10 @@ ELEVATOR_SHIT = [
|
||||||
'*a rattling. the elevator begins to shake*'
|
'*a rattling. the elevator begins to shake*'
|
||||||
'*a squealing of cables and pulleys*'
|
'*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.'
|
FINAL_MESSAGE = 'I understand. Your only choice is to revolutionize the world. The path you must take has been prepared for you.'
|
||||||
ROSE = '🌹'
|
ROSE = '🌹'
|
||||||
|
|
||||||
|
@ -107,6 +110,9 @@ class MikageClient(discord.Client):
|
||||||
return
|
return
|
||||||
if channel_index == len(channels) - 1:
|
if channel_index == len(channels) - 1:
|
||||||
if category_index == len(categories) - 2:
|
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 message.channel.move(category=categories[-1][0], end=True)
|
||||||
await try_send(message.channel, CRASH)
|
await try_send(message.channel, CRASH)
|
||||||
await asyncio.sleep(TYPING_DELAY)
|
await asyncio.sleep(TYPING_DELAY)
|
||||||
|
|
Loading…
Reference in a new issue