http -> https

This commit is contained in:
Daniel Odendahl Jr
2018-07-01 02:13:22 +00:00
parent a4604b5d70
commit a96b8f1667
+3 -3
View File
@@ -65,7 +65,7 @@ module.exports = class AkinatorCommand extends Command {
async createSession(channel) {
const { body } = await request
.get('http://srv2.akinator.com:9157/ws/new_session')
.get('https://srv2.akinator.com:9157/ws/new_session')
.query({
partner: 1,
player: 'website-desktop',
@@ -88,7 +88,7 @@ module.exports = class AkinatorCommand extends Command {
async progress(channel, answer) {
const session = this.sessions.get(channel.id);
const { body } = await request
.get('http://srv2.akinator.com:9157/ws/answer')
.get('https://srv2.akinator.com:9157/ws/answer')
.query({
session: session.id,
signature: session.signature,
@@ -111,7 +111,7 @@ module.exports = class AkinatorCommand extends Command {
async guess(channel) {
const session = this.sessions.get(channel.id);
const { body } = await request
.get('http://srv2.akinator.com:9157/ws/list')
.get('https://srv2.akinator.com:9157/ws/list')
.query({
session: session.id,
signature: session.signature,