From 17a28fa54406d4af1fcc43c84a03711e82aa3234 Mon Sep 17 00:00:00 2001 From: pocketjawa Date: Tue, 12 Sep 2017 10:24:55 -0400 Subject: [PATCH] Updated links to HTTPS for Maki --- lists/tohru_images.txt | 30 +++++++++++++++--------------- pocketbot.py | 8 ++++---- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/lists/tohru_images.txt b/lists/tohru_images.txt index 9b5fd03..d58f1cf 100644 --- a/lists/tohru_images.txt +++ b/lists/tohru_images.txt @@ -1,15 +1,15 @@ -http://maki.pocketjawa.com/images/tohru/13833.gif -http://maki.pocketjawa.com/images/tohru/15072.jpg -http://maki.pocketjawa.com/images/tohru/15702.jpg -http://maki.pocketjawa.com/images/tohru/18082.png -http://maki.pocketjawa.com/images/tohru/18289.jpg -http://maki.pocketjawa.com/images/tohru/18705.jpg -http://maki.pocketjawa.com/images/tohru/19319.gif -http://maki.pocketjawa.com/images/tohru/20933.jpg -http://maki.pocketjawa.com/images/tohru/22240.png -http://maki.pocketjawa.com/images/tohru/24570.gif -http://maki.pocketjawa.com/images/tohru/27519.jpg -http://maki.pocketjawa.com/images/tohru/31856.jpg -http://maki.pocketjawa.com/images/tohru/32277.jpg -http://maki.pocketjawa.com/images/tohru/6149.gif -http://maki.pocketjawa.com/images/tohru/9584.jpg \ No newline at end of file +https://maki.pocketjawa.com/images/tohru/13833.gif +https://maki.pocketjawa.com/images/tohru/15072.jpg +https://maki.pocketjawa.com/images/tohru/15702.jpg +https://maki.pocketjawa.com/images/tohru/18082.png +https://maki.pocketjawa.com/images/tohru/18289.jpg +https://maki.pocketjawa.com/images/tohru/18705.jpg +https://maki.pocketjawa.com/images/tohru/19319.gif +https://maki.pocketjawa.com/images/tohru/20933.jpg +https://maki.pocketjawa.com/images/tohru/22240.png +https://maki.pocketjawa.com/images/tohru/24570.gif +https://maki.pocketjawa.com/images/tohru/27519.jpg +https://maki.pocketjawa.com/images/tohru/31856.jpg +https://maki.pocketjawa.com/images/tohru/32277.jpg +https://maki.pocketjawa.com/images/tohru/6149.gif +https://maki.pocketjawa.com/images/tohru/9584.jpg diff --git a/pocketbot.py b/pocketbot.py index 39ab623..6446306 100644 --- a/pocketbot.py +++ b/pocketbot.py @@ -66,7 +66,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.jawa.moe/monday.png') + yield from client.send_message(message.channel, 'https://maki.jawa.moe/monday.png') #Posts help info elif message.content.lower().startswith('!help'): @@ -80,7 +80,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.jawa.moe/mixes/') + yield from client.send_message(message.channel, 'You can download mp3s of any of my mixes at https://maki.jawa.moe/mixes/') #Pokes the person who said the command elif message.content.lower().startswith('!pokeme'): @@ -262,8 +262,8 @@ def on_message(message): #Post a random mix elif message.content.lower().startswith('!rmix'): - 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']) + mixes = json.loads(requests.get("https://maki.jawa.moe/mixesjson/").text) + yield from client.send_message(message.channel, "https://maki.jawa.moe/mixes/" + random.choice(mixes)['name'])