Akinator US

This commit is contained in:
Daniel Odendahl Jr
2017-09-20 01:11:44 +00:00
parent 658a3c0e41
commit 6a61ca1bea
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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,
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "41.1.3",
"version": "41.1.4",
"description": "Your personal server companion.",
"main": "Shard.js",
"scripts": {