off-loaded common functions
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
const { mClient, dClient } = require('../..')
|
||||
const { updateChatMode, getIDByName } = require('../../functions')
|
||||
|
||||
require('dotenv').configDotenv
|
||||
module.exports = {
|
||||
name: 'Twitch/Message',
|
||||
once: false,
|
||||
async execute(channel, userstate, message, self, tClient) {
|
||||
const { dClient, mClient, getIDByName, updateChatMode } = require('../../index')
|
||||
const knownBots = new Set(['streamlabs', 'nightbot', 'moobot', 'soundalerts', 'streamelements', 'remasuri_bot', 'commanderroot', 'x__hel_bot__x'])
|
||||
async function emitShoutoutInfo(channel, username) {
|
||||
// Function sends information to the Shoutout Handler if they haven't been shouted out before, default target: VIPs
|
||||
|
||||
Reference in New Issue
Block a user