summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add Tell PluginJokler2018-02-122-0/+135
|
* Run latest rustfmtJokler2018-02-127-136/+137
|
* Improve documentationJokler2018-02-122-15/+21
|
* Replace is_allowed with a single-threaded execute functionJokler2018-02-128-95/+112
| | | | The old execute got renamed to exeute_threaded.
* Move main file into the src directoryJokler2018-02-121-0/+113
|
* Upgrade dependenciesJokler2018-02-107-78/+64
|
* Add evaluate function to pluginsJokler2018-02-106-45/+79
| | | | This allows plugins to be used in combination with each other.
* 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
|
* Adjust documentationJokler2017-12-153-2/+7
|
* Add option for disabled plugins in the toml filesJokler2017-12-151-0/+20
|
* Trim url titles and move downloading into a functionJokler2017-12-131-20/+33
|
* Remove unused codeJokler2017-12-121-7/+0
|
* Only match urls which start with httpJokler2017-12-121-2/+2
|
* Remove needless allocation & fix typoJokler2017-12-112-2/+2
|
* Derive defaults where possibleJokler2017-12-115-5/+6
|
* Add Url PluginJokler2017-12-113-0/+150
|
* Move Config logic out of the libraryJokler2017-12-111-71/+54
|
* Check who left before trying to get the nickJokler2017-12-071-3/+12
|
* Add KeepNick pluginJokler2017-12-062-0/+53
|
* Rename plugin_derive to frippy_deriveJokler2017-11-302-2/+2
|
* Let users of the library define their own pluginsJokler2017-11-282-160/+229
| | | | | | | 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-164-25/+15
| | | | | | | 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-032-2/+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.
* Export plugins directly instead of their modulesJokler2017-10-292-6/+10
|
* Reformat the emoji counting loopJokler2017-10-281-14/+15
|
* Document the usage of the log crateJokler2017-10-281-1/+5
|
* Add missing help pluginJokler2017-10-271-0/+34
|
* Add emoji countingJokler2017-10-271-14/+53
|
* Move help into a PluginJokler2017-10-273-8/+2
|
* Panic if execute is called on the Currency PluginJokler2017-10-271-1/+1
|
* Refactor plugin managementJokler2017-10-272-134/+164
| | | | ThreadedPlugins should take care of anything Plugin related now.
* Fix currency response on bad commandJokler2017-10-271-1/+1
|
* Make the Emoji plugin respond to messages in private chatsJokler2017-10-261-1/+3
|
* Pass on a Result from the Currency eval functionJokler2017-10-181-12/+11
|
* Handle one error in a verbose way again to support rust stableJokler2017-10-171-7/+9
|
* Remove a few unwraps and make error handling more conciseJokler2017-10-172-29/+21
|
* 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-142-7/+9
|
* Improve readability of the Currency pluginJokler2017-10-141-12/+14
|
* 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
|
* Mention emoji range sourceJokler2017-10-111-0/+2
|
* Improve currency help messageJokler2017-10-111-5/+8
|
* Only spawn a new thread if neededJokler2017-10-112-27/+37
|
* Create plugin_derive to replace the register_plugin macroJokler2017-10-114-39/+27
|