29 lines
No EOL
504 B
Rust
29 lines
No EOL
504 B
Rust
|
|
|
|
// 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;
|
|
|
|
// use std::collections::HashMap;
|
|
|
|
|
|
|
|
pub mod core;
|
|
use crate::core::botinstance::BotInstance;
|
|
|
|
#[tokio::main]
|
|
pub async fn main() {
|
|
|
|
let bot = BotInstance::init();
|
|
|
|
|
|
bot.run().await;
|
|
|
|
} |