This commit is contained in:
Sarimoko 2022-02-14 03:04:42 -08:00
parent bd04b3211d
commit 0aff0acb7f
1 changed files with 2 additions and 40 deletions

View File

@ -1,23 +1,5 @@
// B O T O
// ---
// black
// red
// green
// yellow
// blue
// magenta
// cyan
// white
// gray
// grey
// brightRed
// brightGreen
// brightYellow
// brightBlue
// brightMagenta
// brightCyan
// brightWhite
require('dotenv').config();
const tmi = require('tmi.js');
const rp = require('request-promise'); // For RNG
@ -40,9 +22,8 @@ const client = new tmi.Client({
client.connect();
import { rnguser } from "./rng.js";
rnguser();
//import { rnguser } from "./rng.js";
//rnguser();
// SCAN MSG | START
client.on('message', (channel, tags, message, self) => {
@ -59,12 +40,6 @@ client.on('message', (channel, tags, message, self) => {
const args = message.slice(1).split(' ');
const command = args.shift().toLowerCase(); // !COMMAND => command
// TODO:
// Uptime
// Viewers
// Followage
// Followers
// CHAT COMMANDS | End
// import { cmd_general } from "./cmd/general.js";
// cmd_general();
@ -74,16 +49,3 @@ client.on('message', (channel, tags, message, self) => {
// cmd_mods();
}); // SCAN MSG | END
// TTV Re-Active
// ==================================
// TO-DO: Add Follower API
// https://api.twitch.tv/kraken/channels/MY_ID/follows?api_version=5&client_id=MY_CLIENT_ID&limit=1
// client.on("action", (channel, userstate, message, self) => {
// // Don't listen to my own messages..
// if (self) return;
// console.log('LOG: Action ');
// });
// import { ttv_alerts } from "./alerts.js";
// ttv_alerts();