From 782b878088545e8e579cf2e4fd734dd1853f887a Mon Sep 17 00:00:00 2001 From: Vivien Mouret Date: Thu, 11 Jul 2024 16:58:19 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20send=20on=20"La=20guilde=20des?= =?UTF-8?q?=20copains"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/mobbot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/mobbot.js b/core/mobbot.js index dd8d418..41cad06 100644 --- a/core/mobbot.js +++ b/core/mobbot.js @@ -366,7 +366,7 @@ class MobBot { }; let guidDot = gD, - channelTwitch = ['💻incoming', '🎦-fox-stream-🎦', 'twitch-support-🎥', 'bots'], + channelTwitch = ['💻incoming', '🎦-fox-stream-🎦', 'twitch-support-🎥', 'bots', 'pirate-bots'], guid = '', dot = ''; @@ -413,6 +413,7 @@ class MobBot { var channelSend = client_.channels.cache.find(channel => channel.name == channelTwitch[chan]); if (channelSend == undefined) break; if (channelTwitch[chan] == 'bots' && axios.data.data[0].game_name != 'Rocket League') break; + if (channelTwitch[chan] == 'pirate-bots' && axios.data.data[0].game_name != 'Sea of Thieves') break; await client_.channels.cache .get(channelSend.id)