diff --git a/node/boto.js b/node/boto.js index 197519a..ecca9a0 100644 --- a/node/boto.js +++ b/node/boto.js @@ -24,8 +24,8 @@ client.connect(); import { rnguser } from "./rng.js"; rnguser(); -import { ttvalerts } from "./alerts.js"; -ttvalerts(); +//import { ttvalerts } from "./alerts.js"; +//ttvalerts(); client.on('message', (channel, tags, message, self) => { if(self) return; @@ -41,8 +41,8 @@ client.on('message', (channel, tags, message, self) => { const args = message.slice(1).split(' '); const command = args.shift().toLowerCase(); // !COMMAND => command -// import { cmd_general } from "./cmd/general.js"; -// cmd_general(); + import { ttv_cmd_general } from "./cmd/general.js"; + cmd_general(); // import { cmd_subs } from "./cmd/subs.js"; // cmd_suds(); // import { cmd_mods } from "./cmd/mods.js"; diff --git a/node/cmd/general.js b/node/cmd/general.js index cfdbd46..aa89b8a 100644 --- a/node/cmd/general.js +++ b/node/cmd/general.js @@ -1,4 +1,5 @@ -// CMD | CHAT COMMANDS | Start +export function ttv_cmd_general() { + // CMD | CHAT COMMANDS | Start // CMD | RNGUser if(command === 'rnguser') { // Get a random user but skip the user requesting a random user @@ -180,4 +181,5 @@ if(command === 'twitter' || command === 'tweet') { client.say(channel, `/me Twitter | https://twitter.com/sarimoko_o `); - } \ No newline at end of file + } +} \ No newline at end of file