Updated to use jawa.moe instead of pocketjawa.com
parent
bf6a029c7e
commit
54347cb26d
|
@ -62,7 +62,7 @@ def on_message(message):
|
|||
|
||||
#Maki Monday praise command
|
||||
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.jawa.moe/monday.png')
|
||||
|
||||
#Posts help info
|
||||
elif message.content.lower().startswith('!help'):
|
||||
|
@ -76,7 +76,7 @@ def on_message(message):
|
|||
|
||||
#Posts link to my mix archive
|
||||
elif message.content.lower().startswith('!mixes'):
|
||||
yield from client.send_message(message.channel, 'You can download mp3s of any of my mixes at http://maki.pocketjawa.com/mixes/')
|
||||
yield from client.send_message(message.channel, 'You can download mp3s of any of my mixes at http://maki.jawa.moe/mixes/')
|
||||
|
||||
#Pokes the person who said the command
|
||||
elif message.content.lower().startswith('!pokeme'):
|
||||
|
@ -248,8 +248,8 @@ def on_message(message):
|
|||
|
||||
#Post a random mix
|
||||
elif message.content.lower().startswith('!rmix'):
|
||||
mixes = json.loads(requests.get("http://maki.pocketjawa.com/mixesjson/").text)
|
||||
yield from client.send_message(message.channel, "http://maki.pocketjawa.com/mixes/" + random.choice(mixes)['name'])
|
||||
mixes = json.loads(requests.get("http://maki.jawa.moe/mixesjson/").text)
|
||||
yield from client.send_message(message.channel, "http://maki.jawa.moe/mixes/" + random.choice(mixes)['name'])
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue