aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJokler <jokler.contact@gmail.com>2017-12-15 19:29:40 +0100
committerJokler <jokler.contact@gmail.com>2017-12-15 19:29:40 +0100
commit92ea5a1c2e0b7ddaa102d6b602d180e84964c3be (patch)
tree6bfed35a56dcf774d5b840552f921723f4556766 /src/lib.rs
parentb4c1722bbee9fa822a6063cbb0540c0a7fb2e430 (diff)
downloadfrippy-92ea5a1c2e0b7ddaa102d6b602d180e84964c3be.tar.gz
frippy-92ea5a1c2e0b7ddaa102d6b602d180e84964c3be.zip
Adjust documentation
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
/// ```