From c3898644be749fcb8392904c9b5c814a80d26ef4 Mon Sep 17 00:00:00 2001 From: Yash Karandikar Date: Tue, 2 Aug 2022 19:27:03 -0500 Subject: [PATCH] Add sample config --- sample_config.toml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sample_config.toml diff --git a/sample_config.toml b/sample_config.toml new file mode 100644 index 0000000..3e5fd8c --- /dev/null +++ b/sample_config.toml @@ -0,0 +1,17 @@ +token = "..." # REQUIRED: discord bot token +nickname = "dircord" # REQUIRED: IRC nickname +server = "karx.xyz"" +port = 6697 +tls = true # OPTIONAL: DEFAULT: false +mode = "+B" # OPTIONAL: DEFAULT: none +raw_prefix = "++" # OPTIONAL: DEFAULT: ++ +ref_content_limit = 512 # OPTIONAL: where to truncate replied messages. Defaults to ~512 minus the prefix +avatar_ttl = 1800 # OPTIONAL: how long to store the avatar cache, in seconds. Defaults to 1800 (30 minutes) + +[channels] +# irc channel name -> discord channel id +'#channel_name' = 1234 + +[webhooks] # OPTIONAL +# irc channel name -> discord webhook URL +'#channel_name' = '...'