From a815a897c60a3c9d098b40a39e3d0549d5230b88 Mon Sep 17 00:00:00 2001 From: Jokler Date: Mon, 16 Oct 2017 00:33:58 +0200 Subject: Rewrite run() and add logging 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 --- configs/config.toml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 configs/config.toml (limited to 'configs/config.toml') diff --git a/configs/config.toml b/configs/config.toml new file mode 100644 index 0000000..31049f9 --- /dev/null +++ b/configs/config.toml @@ -0,0 +1,25 @@ +owners = [] +nickname = "frippy" +#nick_password = "" +alt_nicks = ["frippy_", "frippy__"] +realname = "frippy" +server = "" +#password = "" +port = 6697 +use_ssl = true +#cert_path = "cert.der" +encoding = "UTF-8" +channels = ["#frippy"] +umodes = "+B" +user_info = "IRC Bot" +version = "frippy v0.2.0" +source = "https://github.com/Mavulp/frippy" +#ping_time = 180 +#ping_timeout = 10 +#burst_window_length = 8 +#max_messages_in_burst = 15 +#should_ghost = false +#ghost_sequence = [] + +#[channel_keys] +#"#frippy" = "" -- cgit v1.2.3-70-g09d2