summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add sed pluginJokler2018-03-131-0/+2
|
* Add Tell specific errors and improve error logging for commandsJokler2018-03-051-1/+1
|
* Fix doctestsJokler2018-03-041-5/+5
|
* Use Error & ErrorKind pair instead of simple enumsJokler2018-03-021-26/+30
| | | | | | | | | | | | Each plugin should define its own errors with a respective variant in the main ErrorKind of frippy. A new procedural macro was added to reduce the boilerplate required for new error system. It can be used by deriving "Error" and adding a name for the Error via the "error" attribute. So far non of the plugins except for Url and Factoids use their own errors yet.
* Create errors with failureJokler2018-02-281-13/+13
| | | | | The plugins are mostly not using the new errors yet and the error handling in the Factoids plugin is just temporary.
* Add time passed to tellsJokler2018-02-261-0/+1
|
* Run rustfmt and clippyJokler2018-02-241-1/+1
|
* Use r2d2 as a ConnectionPool for dieselJokler2018-02-241-0/+4
|
* Merge branch 'dev' into factoid-pluginJokler2018-02-231-86/+85
|\
| * Run latest rustfmtJokler2018-02-121-33/+41
| |
| * Improve documentationJokler2018-02-121-8/+6
| |
| * Replace is_allowed with a single-threaded execute functionJokler2018-02-121-18/+22
| | | | | | | | The old execute got renamed to exeute_threaded.
| * Upgrade dependenciesJokler2018-02-101-44/+30
| |
| * Return the future on connect instead of adding it to the reactorJokler2018-01-041-10/+10
| |
| * Exit if no bot connected successfullyJokler2017-12-241-3/+7
| |
* | Improve startup logsJokler2018-02-171-2/+2
| |
* | Add download function & fromurl commandJokler2018-02-131-0/+1
| |
* | Add 'remove' command to Factoids and make the Database trait publicJokler2017-12-241-5/+0
| |
* | Add more info to factoids and save old versionsJokler2017-12-241-2/+7
| |
* | Add MySql as a possible database for the Factoids pluginJokler2017-12-241-0/+7
|/
* Adjust documentationJokler2017-12-151-1/+3
|
* Add option for disabled plugins in the toml filesJokler2017-12-151-0/+20
|
* Derive defaults where possibleJokler2017-12-111-1/+2
|
* Add Url PluginJokler2017-12-111-0/+2
|
* Move Config logic out of the libraryJokler2017-12-111-71/+54
|
* Rename plugin_derive to frippy_deriveJokler2017-11-301-1/+1
|
* Let users of the library define their own pluginsJokler2017-11-281-64/+205
| | | | | | | 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
* Export plugins directly instead of their modulesJokler2017-10-291-3/+3
|
* Document the usage of the log crateJokler2017-10-281-1/+5
|
* Move help into a PluginJokler2017-10-271-0/+1
|
* Refactor plugin managementJokler2017-10-271-134/+16
| | | | ThreadedPlugins should take care of anything Plugin related now.
* Remove a few unwraps and make error handling more conciseJokler2017-10-171-23/+20
|
* Check if it was actually us who joined for the info messageJokler2017-10-171-1/+3
|
* Display possible error when trying to create a connectionJokler2017-10-171-1/+7
| | | | | This can still panic but that should be fixed in the next version of the irc library.
* Fix typoJokler2017-10-161-1/+1
|
* Rewrite run() and add loggingJokler2017-10-161-53/+131
| | | | | | | | | The logger is created in main.rs for now and just logs messages over println. Changes on run() - Added Log Messages - Allow multiple configs which create one IrcServer each - Use tokio-core to keep IrcServers in the main thread
* Adjust formatting with cargo fmtJokler2017-10-141-6/+8
|
* Remove now redundant checkJokler2017-10-131-5/+0
|
* Do not filter out empty StringsJokler2017-10-131-1/+0
| | | | | | This makes the command syntax more strict but allows plugins to recreate the original command by joining the tokens.
* Do not use regex to check for commandsJokler2017-10-131-12/+6
|
* Only spawn a new thread if neededJokler2017-10-111-26/+37
|
* Create plugin_derive to replace the register_plugin macroJokler2017-10-111-5/+5
|
* Add comments to lib.rsJokler2017-10-111-2/+24
|
* Add documentation to the public partsJokler2017-10-111-0/+15
|
* Clear test modules until the irc lib is updatedJokler2017-10-111-17/+0
|
* Use regex to check for commandsJokler2017-10-111-0/+15
|
* Only expose the run functionJokler2017-10-111-7/+1
|
* Add command functionalityJokler2017-10-111-2/+76
|
* Add clippy as an optional build featureJokler2017-10-111-2/+5
|
* Add fixed currency pluginJokler2017-10-111-1/+3
|