Raw Dogged that custom shoutout event and made HelixRequest easier to handle universally

This commit is contained in:
DeSqBlocki
2025-02-08 13:42:18 +01:00
parent e499308e64
commit 0c6deae544
8 changed files with 165 additions and 62 deletions
+4 -2
View File
@@ -2,7 +2,9 @@
module.exports = {
name: 'Twitch/Raided',
once: false,
execute(stream) {
console.log(`Connected to ${stream.address}`)
execute(channel, username, raiders, tClient) {
const { dClient } = require('../../index')
tClient.say(channel, `${username} entrusted us with ${raiders} people of their community, welcome xhelxBlankie`)
dClient.emit('Twitch/Shoutout', "RAID", channel, username)
}
}