comments cleanup
All checks were successful
ci/woodpecker/pr/cargo-checks Pipeline was successful

This commit is contained in:
ModulatingForce 2024-03-23 14:52:41 -04:00
parent 6ddf015cd1
commit 503910b252
2 changed files with 2 additions and 21 deletions

View file

@ -26,14 +26,8 @@ use crate::core::chat::Chat;
#[derive(Debug, PartialEq, Eq, Hash, Clone)]
pub struct Channel(pub String); // Preferring pub for now, so this is directly accessible
// impl Channel
// {
// pub fn construct(channel_string:String) -> Channel
// {
// Channel(channel_string)
// }
// }
pub struct Channel(pub String);
#[derive(Clone)]
pub struct BotManagers {
pub identity: Arc<RwLock<IdentityManager>>,

View file

@ -38,21 +38,8 @@ use crate::core::identity;
use crate::core::bot_actions;
//pub use BotModule;
#[derive(Debug, PartialEq, Eq, Hash, Clone)]
// pub enum ModType {
// BotModule(String),
// }
pub struct BotModule(pub String);
// //botmodule simplified from enum to tuple struct
// impl BotModule{
// pub fn construct(module_name:String) -> BotModule
// {
// BotModule(module_name)
// }
// }
#[derive(Debug)]