Made the bot get excited if !switch is used after it is released
parent
06e200aac3
commit
d0c20b178a
|
@ -70,7 +70,10 @@ def on_message(message):
|
|||
now = datetime.datetime.now()
|
||||
switchdate = datetime.datetime(2017, 3, 3)
|
||||
switchdelta = switchdate - now
|
||||
switchmsg = "<:switchl:283809380137435139>Only **%s** until the Switch comes out!<:switchr:283809391835349004>" % (switchdelta)
|
||||
if (switchdelta.total_seconds() > 0):
|
||||
switchmsg = "<:switchl:283809380137435139>Only **%s** until the Switch comes out!<:switchr:283809391835349004>" % (switchdelta)
|
||||
else:
|
||||
switchmsg = "The <:switchl:283809380137435139>Switch<:switchr:283809391835349004> is already out!!! <:pjchamp:231619017599746048>"
|
||||
yield from client.send_message(message.channel, switchmsg)
|
||||
|
||||
#Posts status of the UPS
|
||||
|
|
Loading…
Reference in New Issue