Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivien Mouret committed Jul 11, 2024
2 parents d3afa63 + 782b878 commit eff3dc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/mobbot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit eff3dc0

Please sign in to comment.