off-loaded common functions

This commit is contained in:
DeSqBlocki
2025-02-08 17:07:13 +01:00
parent 5397e076ca
commit f978dbdf2e
7 changed files with 22 additions and 13 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
const { dClient, tClient } = require("../..")
// Event triggered by Raid
module.exports = {
name: 'Twitch/Raided',
once: false,
execute(channel, username, raiders, tClient) {
const { dClient } = require('../../index')
execute(channel, username, raiders) {
tClient.say(channel, `${username} entrusted us with ${raiders} people of their community, welcome xhelxBlankie`)
dClient.emit('Twitch/Shoutout', "RAID", channel, username)
}