This commit is contained in:
parent
6ddf015cd1
commit
503910b252
|
@ -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>>,
|
||||
|
|
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue