diff options
| author | Jokler <jokler.contact@gmail.com> | 2017-12-15 19:29:40 +0100 |
|---|---|---|
| committer | Jokler <jokler.contact@gmail.com> | 2017-12-15 19:29:40 +0100 |
| commit | 92ea5a1c2e0b7ddaa102d6b602d180e84964c3be (patch) | |
| tree | 6bfed35a56dcf774d5b840552f921723f4556766 /src/lib.rs | |
| parent | b4c1722bbee9fa822a6063cbb0540c0a7fb2e430 (diff) | |
| download | frippy-92ea5a1c2e0b7ddaa102d6b602d180e84964c3be.tar.gz frippy-92ea5a1c2e0b7ddaa102d6b602d180e84964c3be.zip | |
Adjust documentation
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 /// ``` |
