From dfc0bf5a584f9d5001120e529d58e1b048f8af78 Mon Sep 17 00:00:00 2001 From: Ladislav Hano Date: Tue, 31 Dec 2024 12:49:53 +0100 Subject: [PATCH] fix: x site change from fxtwitter to fixvx --- README.md | 3 +++ src/commands/mod.rs | 2 +- src/commands/moover/mod.rs | 4 ++-- src/message_handler.rs | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7ff7f51..a687c2e 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,9 @@ Make sure you have cargo installed! Edit .env.example and rename to .env +Check if you have openssl (libssl-dev Ubuntu, openssl-devel Fedora) +audiopus_sys requires cmake + Compile debug version ``` make dev diff --git a/src/commands/mod.rs b/src/commands/mod.rs index 92a8ea2..39b9bfb 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -8,4 +8,4 @@ pub mod notice; pub mod user_interactions; pub mod other; -pub mod channel_test; \ No newline at end of file +// pub mod channel_test; \ No newline at end of file diff --git a/src/commands/moover/mod.rs b/src/commands/moover/mod.rs index 4b6fd56..fbf6377 100644 --- a/src/commands/moover/mod.rs +++ b/src/commands/moover/mod.rs @@ -1,7 +1,7 @@ pub use moove::*; pub use say::*; -pub use gif::*; +// pub use gif::*; pub mod moove; pub mod say; -pub mod gif; \ No newline at end of file +// pub mod gif; \ No newline at end of file diff --git a/src/message_handler.rs b/src/message_handler.rs index 767448a..4aa263e 100644 --- a/src/message_handler.rs +++ b/src/message_handler.rs @@ -33,7 +33,7 @@ pub async fn handle(ctx: Context, msg: Message) { // X and IG not embedding correctly (IG fix does not work for now need to find different one) let link_fixes = HashMap::from([ - ("//x.com", "//fxtwitter.com") + ("//x.com", "//fixvx.com") ]); for (site, fix) in link_fixes {