Updated to use jawa.moe instead of pocketjawa.com

dev
pocketjawa 2017-08-02 11:31:34 -04:00
parent bf6a029c7e
commit 54347cb26d
1 changed files with 5 additions and 5 deletions

View File

@ -62,7 +62,7 @@ def on_message(message):
#Maki Monday praise command #Maki Monday praise command
if (message.content.lower().startswith('!maki')) or (message.content.lower().startswith('!monday')): 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 #Posts help info
elif message.content.lower().startswith('!help'): elif message.content.lower().startswith('!help'):
@ -76,7 +76,7 @@ def on_message(message):
#Posts link to my mix archive #Posts link to my mix archive
elif message.content.lower().startswith('!mixes'): 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 #Pokes the person who said the command
elif message.content.lower().startswith('!pokeme'): elif message.content.lower().startswith('!pokeme'):
@ -248,10 +248,10 @@ def on_message(message):
#Post a random mix #Post a random mix
elif message.content.lower().startswith('!rmix'): elif message.content.lower().startswith('!rmix'):
mixes = json.loads(requests.get("http://maki.pocketjawa.com/mixesjson/").text) mixes = json.loads(requests.get("http://maki.jawa.moe/mixesjson/").text)
yield from client.send_message(message.channel, "http://maki.pocketjawa.com/mixes/" + random.choice(mixes)['name']) yield from client.send_message(message.channel, "http://maki.jawa.moe/mixes/" + random.choice(mixes)['name'])
client.loop.create_task(ups_check()) client.loop.create_task(ups_check())
client.run(token) client.run(token)