summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d34a728..5d15802 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -56,6 +56,7 @@ pub use irc::error::Error as IrcError;
use plugin::*;
+/// The bot which contains the main logic.
#[derive(Default)]
pub struct Bot {
plugins: ThreadedPlugins,
@@ -77,7 +78,8 @@ impl Bot {
Bot { plugins: ThreadedPlugins::new() }
}
- /// Add plugins which should evaluate incoming messages from IRC.
+ /// Adds the plugin.
+ /// These plugins will be used to evaluate incoming messages from IRC.
///
/// # Examples
/// ```