more
This commit is contained in:
parent
1666ba3b6b
commit
17a045be18
|
@ -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";
|
||||
|
|
|
@ -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 `);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue