diff --git a/assets/json/akinator.json b/assets/json/akinator.json deleted file mode 100644 index 355b5a3e..00000000 --- a/assets/json/akinator.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - "en", - "en_object", - "en_animals", - "ar", - "cn", - "de", - "de_animals", - "es", - "es_animals", - "fr", - "fr_objects", - "fr_animals", - "il", - "it", - "it_animals", - "jp", - "jp_animals", - "kr", - "nl", - "pl", - "pt", - "ru", - "tr" -] diff --git a/commands/games-sp/akinator.js b/commands/games-sp/akinator.js index 033ea4e4..bfcbbde2 100644 --- a/commands/games-sp/akinator.js +++ b/commands/games-sp/akinator.js @@ -1,9 +1,8 @@ const Command = require('../../structures/Command'); const { MessageEmbed } = require('discord.js'); -const Aki = require('aki-api'); +const { Aki, regions } = require('aki-api'); const { stripIndents } = require('common-tags'); const { list, verify } = require('../../util/Util'); -const regions = require('../../assets/json/akinator'); module.exports = class AkinatorCommand extends Command { constructor(client) {