aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.rs20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/main.rs b/src/main.rs
index e4c65d0..f180ea3 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -4,7 +4,7 @@ async fn main() {
tracing_subscriber::fmt()
.with_max_level(tracing::Level::TRACE)
- // .with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
+ .with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
.init();
rustls::crypto::CryptoProvider::install_default(rustls::crypto::aws_lc_rs::default_provider())
@@ -17,12 +17,12 @@ async fn main() {
.expect("failed to initialize WolframAlpha command");
catinator![
- hook(
- "sasl",
- "Handle Authentication.",
- AUTHENTICATE,
- catinator::hooks::sasl
- ),
+ // hook(
+ // "sasl",
+ // "Handle Authentication.",
+ // AUTHENTICATE,
+ // catinator::hooks::sasl
+ // ),
hook(
"sed_log",
"Log messages for use with sed replace, max 10k lines.",
@@ -30,6 +30,12 @@ async fn main() {
sed.log
),
matcher(
+ "nitter",
+ "replace twitter urls with a nitter instance (xcancel.com)",
+ r"https:\/\/(twitter|x)\.com\/",
+ catinator::hooks::nitter
+ ),
+ matcher(
"shifty_eyes",
">.>",
r"^\S{3}$",
d> 2021-06-05fix tanka dependency pathMax Audron-8/+8 2021-06-05switch to https url for tanka util libMax Audron-2/+2 2021-06-05bump version to 1.0.2Max Audron-2/+2 2021-06-05add tanka ci configurationMax Audron-1/+1 2021-06-05ready tanka deploy for CIMax Audron-32/+69 2021-06-05remove tanka vendoringMax Audron-27651/+0 2021-05-26Release 1.0.1Max Audron-3/+3 2021-05-26fix log breaking once buffer fullMax Audron-2/+33 the log_msg function was poping the newest message and replacing it with the newest message, it should be poping the oldest messages. 2021-05-16add deployment stuffMax Audron-6/+27786 2021-05-15add container buildMax Audron-2/+35