diff --git a/response/laugh.js b/response/laugh.js index aa7a5e1..0cd7955 100644 --- a/response/laugh.js +++ b/response/laugh.js @@ -1,9 +1,17 @@ 'use.strict' +const { EmbedBuilder } = require('discord.js'); + module.exports = { data: { name: 'hahaha', description: 'a dynamic reply' }, - async execute(message, args, language) { await message.channel.send(language.replyAgg); } + async execute(message, args, language) { + let reply = new EmbedBuilder() + .setDescription(language.replyLaugh) + .setImage('https://media2.giphy.com/media/jQmVFypWInKCc/giphy.gif?cid=ecf05e4718162bqt0bq1i56jd38ym14f26scslk3pmmnaqbb&ep=v1_gifs_search&rid=giphy.gif&ct=g'); + + await message.channel.send({ embeds: [reply] }); + } }; \ No newline at end of file diff --git a/response/mais.js b/response/mais.js deleted file mode 100644 index 98c66c0..0000000 --- a/response/mais.js +++ /dev/null @@ -1,9 +0,0 @@ -'use.strict' - -module.exports = { - data: { - name: 'mais', - description: 'a dynamic reply' - }, - async execute(message, args, language) { await message.channel.send(language.replyMais); } -}; \ No newline at end of file diff --git a/response/no.js b/response/no.js index 9536df0..5af73d7 100644 --- a/response/no.js +++ b/response/no.js @@ -9,7 +9,7 @@ module.exports = { }, async execute(message, args, language) { let reply = new EmbedBuilder() - .setDescription('NO NO NO') + .setDescription(language.replyNo) .setImage('https://i.pinimg.com/originals/da/eb/26/daeb26a70a817fbeef6f8e3b5c9baee1.gif'); await message.channel.send({ embeds: [reply] }); diff --git a/response/tqt.js b/response/tqt.js deleted file mode 100644 index 2c3965f..0000000 --- a/response/tqt.js +++ /dev/null @@ -1,9 +0,0 @@ -'use.strict' - -module.exports = { - data: { - name: 'tqt', - description: 'a dynamic reply' - }, - async execute(message, args, language) { await message.channel.send(language.replyWorried); } -}; \ No newline at end of file diff --git a/response/yes.js b/response/yes.js index e9cd96b..e3aec50 100644 --- a/response/yes.js +++ b/response/yes.js @@ -9,7 +9,7 @@ module.exports = { }, async execute(message, args, language) { let reply = new EmbedBuilder() - .setDescription('YES YES YES') + .setDescription(language.replyYes) .setImage('https://i.pinimg.com/originals/80/ca/e3/80cae3013cf2513e3cef9179f7d64073.gif'); await message.channel.send({ embeds: [reply] }); diff --git a/resx/lang.json b/resx/lang.json index 177742a..3a7431d 100644 --- a/resx/lang.json +++ b/resx/lang.json @@ -29,10 +29,10 @@ "pruneOut": "Donnes moi un nombre entre 1 et 100", "pingWait": "AAAAAAAATTTEEEEEEENNNNNNNNNNNNNDDDDDDDDDSSSSSSSSSSSSS!!!!", "pingEdit": "Latence de", - "replyAgg": "ta gueule", + "replyLaugh": "hahaha", "replyBot": "...", - "replyMais": "chant", - "replyWorried": "oui je m\\'inquiète pour toi...", + "replyYes": "chant", + "replyNo": "oui je m\\'inquiète pour toi...", "descLiveSt": "À l'instant présent, le live du petit", "descLiveNd": "vient de se lancer !", "guildJoin": "vient de rejoindre la galaxie !",