WEBSOCKET SUPPORT FUCK YAY

This commit is contained in:
DeSqBlocki
2025-02-09 17:44:46 +01:00
parent 50afd85201
commit 96a64a2f6d
6 changed files with 186 additions and 44 deletions
+3 -2
View File
@@ -1,4 +1,5 @@
const { getChannelInformation, getIDByName } = require("../../functions");
const { tClient } = require("../..");
const { getChannelInformation } = require("../../functions");
// Event triggered by Custom Shoutout emitted in Messages.js
const soBuffer = new Map();
@@ -7,7 +8,7 @@ let isShoutoutInProgress = false; // Track shoutout status to avoid overlapping
module.exports = {
name: 'Twitch/Shoutout',
once: false,
async execute(reason, channel, username, tClient) {
async execute(reason, channel, username) {
// Function to perform shoutout (Nightbot or custom)
async function doShoutouts(channel, user) {