Added countdown to Smash

dev
pocketjawa 2018-11-20 21:02:08 -05:00
parent 21e10f24d7
commit 8283500514
2 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@
**!sleep**: Some cat tells you to sleep.
**!pokeme**: make the bot poke you gently.
**!switch**: display time until the switch comes out!
**!smash**: display time until Smash comes out!
**!wtf**: Don't use unless you want a wall of copypasta.
**!ups**: Print the status of the main UPS. Updated once a minute.
**!tohru**: Posts a random pic of the one and only Tohru!

View File

@ -146,6 +146,17 @@ def on_message(message):
else:
switchmsg = "The <:switchl:283809380137435139>Switch<:switchr:283809391835349004> is already out!!! <:pjchamp:231619017599746048>"
yield from client.send_message(message.channel, switchmsg)
#Countdown until Smash comes out!
elif message.content.lower().startswith('!smash'):
now = datetime.datetime.now()
smashdate = datetime.datetime(2018, 12, 7)
smashdelta = smashdate - now
if (smashdelta.total_seconds() > 0):
smashmsg = "Only **%s** until Smash comes out!" % (smashdelta)
else:
smashmsg = "**Get ready to fucking Smaaaaaaash!!!** <:pjchamp:231619017599746048>"
yield from client.send_message(message.channel, smashmsg)
#Posts status of the UPS
elif message.content.lower().startswith('!ups'):