mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
http -> https
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user