aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugin.rs
Commit message (Collapse)AuthorAgeFilesLines
* Run latest rustfmtJokler2018-02-121-12/+6
|
* Improve documentationJokler2018-02-121-7/+15
|
* Replace is_allowed with a single-threaded execute functionJokler2018-02-121-2/+8
| | | | The old execute got renamed to exeute_threaded.
* Upgrade dependenciesJokler2018-02-101-5/+5
|
* Add evaluate function to pluginsJokler2018-02-101-0/+2
| | | | This allows plugins to be used in combination with each other.
* Adjust documentationJokler2017-12-151-1/+3
|
* Remove needless allocation & fix typoJokler2017-12-111-1/+1
|
* Rename plugin_derive to frippy_deriveJokler2017-11-301-1/+1
|
* Let users of the library define their own pluginsJokler2017-11-281-96/+24
| | | | | | | This means that: - run() is now part of a Bot struct - Plugins the bot should use have to be added before calling run() - The Plugin trait and all of the included plugins are now public
* Remove mutexes around pluginsJokler2017-11-161-19/+9
| | | | | | | Mutexes are supposed to only mark critical sections so locking the entire plugin is too general. Any plugins that need mutable data should use mutexes internally instead.
* Add debug loggingJokler2017-11-031-1/+10
| | | | | | The log level gets set to debug or info based on the build profile automatically now. Debug messages also print their target to the console.
* Move help into a PluginJokler2017-10-271-8/+0
|
* Refactor plugin managementJokler2017-10-271-0/+148
| | | | ThreadedPlugins should take care of anything Plugin related now.
* Create plugin_derive to replace the register_plugin macroJokler2017-10-111-24/+5
|
* Only expose the run functionJokler2017-10-111-2/+7
|
* Add command functionalityJokler2017-10-111-0/+2
|
* Add the Display trait to PluginsJokler2017-10-111-13/+10
|
* Initial bot sourceJokler2017-10-041-0/+35