From f77913c0070e0648a1e3f752b66730e86586969d Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Mon, 18 Nov 2024 19:35:33 +0500 Subject: [PATCH] remove useless reactions --- helpers/tictactoe.js | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/helpers/tictactoe.js b/helpers/tictactoe.js index 3c92cf08..a7c44a33 100644 --- a/helpers/tictactoe.js +++ b/helpers/tictactoe.js @@ -260,9 +260,6 @@ async function tictactoe(interaction, options = {}) { }), ), ], - }) - .then(m => { - m.react("⭕"); }); else if (!options.resultBtn || options.resultBtn === false) return m @@ -287,9 +284,6 @@ async function tictactoe(interaction, options = {}) { ), ], components: [], - }) - .then(m => { - m.react("⭕"); }); } else if (Args.user == 1) { const won = await client.users.fetch(fighters[0]).catch(console.error); @@ -311,9 +305,6 @@ async function tictactoe(interaction, options = {}) { }), ), ], - }) - .then(m => { - m.react("⭕"); }); else if (!options.resultBtn || options.resultBtn === false) return m @@ -338,9 +329,6 @@ async function tictactoe(interaction, options = {}) { ), ], components: [], - }) - .then(m => { - m.react("⭕"); }); } @@ -373,9 +361,6 @@ async function tictactoe(interaction, options = {}) { }), ), ], - }) - .then(m => { - m.react("❌"); }); else if (!options.resultBtn || options.resultBtn === false) return m @@ -399,9 +384,6 @@ async function tictactoe(interaction, options = {}) { ), ], components: [], - }) - .then(m => { - m.react("❌"); }); } else if (Args.user == 1) { const won = await client.users.fetch(fighters[0]).catch(console.error); @@ -423,9 +405,6 @@ async function tictactoe(interaction, options = {}) { }), ), ], - }) - .then(m => { - m.react("❌"); }); else return m @@ -449,9 +428,6 @@ async function tictactoe(interaction, options = {}) { ), ], components: [], - }) - .then(m => { - m.react("❌"); }); } @@ -535,9 +511,6 @@ async function tictactoe(interaction, options = {}) { .edit({ content: interaction.translate("fun/tictactoe:TIE"), embeds: [epm.setDescription(interaction.translate("fun/tictactoe:TIE_DESC"))], - }) - .then(m => { - m.react(dashmoji); }); else return m @@ -556,9 +529,6 @@ async function tictactoe(interaction, options = {}) { ], components: [], }) - .then(m => { - m.react(dashmoji); - }) .catch(() => {}); } }