diff options
author | Minteck <contact@minteck.org> | 2022-01-14 14:37:21 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-01-14 14:37:21 +0100 |
commit | 81884db115f3f6a5d4e968fb77cc050cadb1a05e (patch) | |
tree | 040d5448c46a432facef26d4f9f9fc2823090466 /commands | |
parent | 541633055c76a0c002fb8509f106f4b449e21207 (diff) | |
download | ponyfind-81884db115f3f6a5d4e968fb77cc050cadb1a05e.tar.gz ponyfind-81884db115f3f6a5d4e968fb77cc050cadb1a05e.tar.bz2 ponyfind-81884db115f3f6a5d4e968fb77cc050cadb1a05e.zip |
v8
Diffstat (limited to 'commands')
-rw-r--r-- | commands/info.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/info.js b/commands/info.js index 21a1803..11d7c35 100644 --- a/commands/info.js +++ b/commands/info.js @@ -45,7 +45,7 @@ module.exports = async (interaction) => { suffix = ".official-" + (interaction.guild ? interaction.guild.id : 0); } else { if ((interaction.guild ? interaction.guild.id : 0) === fpserver) { - suffix = ".francoponies-epk" + fs.readFileSync("./config/fpexperience.txt").toString(); + suffix = ".francoponies-exp" + fs.readFileSync("./config/fpexperience.txt").toString(); } } @@ -72,7 +72,7 @@ module.exports = async (interaction) => { .setTitle(l("Bot stats", "Statistiques du robot", interaction.user.id, interaction.guild ? interaction.guild.id : 0)) .setDescription(l("Ponyfind is a Discord bot that helps you get easy and fast access to data relative to My Little Pony (generations 4 and 5).", "Ponyfind est un robot Discord qui vous aide à obtenir un accès simple et rapide à des données relatives à My Little Pony (générations 4 et 5).", interaction.user.id, interaction.guild ? interaction.guild.id : 0)) .addFields(fields) - .setFooter(l("made with ♥ by Minteck, a My Little Pony fan", "fait avec ♥ par Minteck, une fan de My Little Pony", interaction.user.id, interaction.guild ? interaction.guild.id : 0)) + .setFooter({ text: l("made with ♥ by Minteck, a My Little Pony fan", "fait avec ♥ par Minteck, une fan de My Little Pony", interaction.user.id, interaction.guild ? interaction.guild.id : 0) }) ] }); }
\ No newline at end of file |