Made !monday also post Maki
parent
86d900dfe9
commit
63cc52ab3b
|
@ -1,6 +1,6 @@
|
||||||
**Here is the the list of possible commands at this point in time:**
|
**Here is the the list of possible commands at this point in time:**
|
||||||
**!help**: show this help blurb
|
**!help**: show this help blurb
|
||||||
**!maki**: Don't forget to praise on Monday!
|
**!maki** or **!monday**: Don't forget to praise on Monday!
|
||||||
**!mixes**: post link to my fire mixtapes
|
**!mixes**: post link to my fire mixtapes
|
||||||
**!sleep**: sleep for like 5 seconds for some reason
|
**!sleep**: sleep for like 5 seconds for some reason
|
||||||
**!pokeme**: make the bot poke you gently
|
**!pokeme**: make the bot poke you gently
|
||||||
|
|
|
@ -36,7 +36,7 @@ def on_ready():
|
||||||
@client.event
|
@client.event
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def on_message(message):
|
def on_message(message):
|
||||||
if message.content.lower().startswith('!maki'):
|
if (message.content.lower().startswith('!maki')) or (message.content.lower().startswith('!monday')):
|
||||||
yield from client.send_message(message.channel, 'http://maki.pocketjawa.com/monday.png')
|
yield from client.send_message(message.channel, 'http://maki.pocketjawa.com/monday.png')
|
||||||
elif message.content.lower().startswith('!help'):
|
elif message.content.lower().startswith('!help'):
|
||||||
helpfile = open("/srv/discord-pocketbot/helpcommand.txt","r")
|
helpfile = open("/srv/discord-pocketbot/helpcommand.txt","r")
|
||||||
|
|
Loading…
Reference in New Issue