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
+2 -1
View File
@@ -1,9 +1,10 @@
const { mClient } = require("../..")
// Event triggered by SubscribersOnly mode
module.exports = {
name: 'Twitch/Subscribers',
once: false,
async execute(channel, enabled) {
const { mClient } = require('../..')
let db = mClient.db('shoutouts')
let col = db.collection(channel)