Update Akinator URL

This commit is contained in:
Daniel Odendahl Jr
2018-07-01 02:12:31 +00:00
parent 65c6631354
commit a4604b5d70
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -65,7 +65,7 @@ module.exports = class AkinatorCommand extends Command {
async createSession(channel) {
const { body } = await request
.get('http://192.99.38.142:8126/ws/new_session')
.get('http://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://158.69.225.49:8152/ws/answer')
.get('http://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://158.69.225.49:8152/ws/list')
.get('http://srv2.akinator.com:9157/ws/list')
.query({
session: session.id,
signature: session.signature,
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "80.1.1",
"version": "80.1.2",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {