2023-11-29 22:11:12 -05:00
|
|
|
|
|
|
|
|
2023-12-19 21:45:22 -05:00
|
|
|
// use twitch_irc::login::StaticLoginCredentials;
|
|
|
|
// use twitch_irc::ClientConfig;
|
|
|
|
// use twitch_irc::SecureTCPTransport;
|
|
|
|
// use twitch_irc::TwitchIRCClient;
|
|
|
|
// use twitch_irc::message::ServerMessage;
|
|
|
|
// use std::env;
|
|
|
|
// // use std::time::Instant;
|
|
|
|
// use rand::Rng;
|
|
|
|
// use dotenv::dotenv;
|
|
|
|
// // mod helpers;
|
2023-11-29 22:11:12 -05:00
|
|
|
|
2023-12-19 21:45:22 -05:00
|
|
|
// use std::collections::HashMap;
|
2023-12-19 00:34:21 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
2023-12-19 20:38:20 -05:00
|
|
|
pub mod core;
|
2023-12-22 09:21:49 -05:00
|
|
|
pub mod modules;
|
2023-12-28 06:02:55 -05:00
|
|
|
use std::process::Output;
|
|
|
|
|
2023-12-19 20:38:20 -05:00
|
|
|
use crate::core::botinstance::BotInstance;
|
|
|
|
|
2023-10-22 08:35:09 -04:00
|
|
|
#[tokio::main]
|
|
|
|
pub async fn main() {
|
2023-12-02 02:00:51 -05:00
|
|
|
|
2023-12-28 06:02:55 -05:00
|
|
|
let bot:BotInstance<dyn std::future::Future<Output = ()>> = BotInstance::init();
|
2023-12-19 20:38:20 -05:00
|
|
|
|
2023-12-28 06:02:55 -05:00
|
|
|
//let bot = BotInstance::init();
|
2023-12-19 20:38:20 -05:00
|
|
|
|
2023-12-28 06:02:55 -05:00
|
|
|
bot.runner().await;
|
2023-12-19 21:43:03 -05:00
|
|
|
|
2023-10-22 08:35:09 -04:00
|
|
|
}
|