From 6a61ca1beaad16ee55dd4fc64d1e7c617495df32 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Wed, 20 Sep 2017 01:11:44 +0000 Subject: [PATCH] Akinator US --- commands/games/akinator.js | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/games/akinator.js b/commands/games/akinator.js index 948ddeda..279dab5b 100644 --- a/commands/games/akinator.js +++ b/commands/games/akinator.js @@ -66,7 +66,7 @@ module.exports = class AkinatorCommand extends Command { async createSession(channel) { const { body } = await snekfetch - .get('http://api-en1.akinator.com/ws/new_session') + .get('http://api-us1.akinator.com/ws/new_session') .query({ partner: 1, player: 'xiaobot' @@ -84,7 +84,7 @@ module.exports = class AkinatorCommand extends Command { async progress(channel, answer) { const session = this.sessions.get(channel.id); const { body } = await snekfetch - .get('http://api-en1.akinator.com/ws/answer') + .get('http://api-us1.akinator.com/ws/answer') .query({ session: session.id, signature: session.signature, @@ -103,7 +103,7 @@ module.exports = class AkinatorCommand extends Command { async finish(channel) { const session = this.sessions.get(channel.id); const { body } = await snekfetch - .get('http://api-en1.akinator.com/ws/list') + .get('http://api-us1.akinator.com/ws/list') .query({ session: session.id, signature: session.signature, diff --git a/package.json b/package.json index 6b45a3d8..87e5ca01 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "41.1.3", + "version": "41.1.4", "description": "Your personal server companion.", "main": "Shard.js", "scripts": {