From 1a3a2900baa4c396b1f3ca39a9ed0b134d6fde5e Mon Sep 17 00:00:00 2001 From: Ladislav Hano <524934@mail.muni.cz> Date: Sun, 18 Feb 2024 12:30:02 +0100 Subject: [PATCH] v0.3 --- Cargo.toml | 2 +- src/main.rs | 2 +- src/other/tenor_builder.rs | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0fb6186..93195f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "moover_rust" -version = "0.2.0" +version = "0.3.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/main.rs b/src/main.rs index 6a2c39d..b4791d9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -29,7 +29,7 @@ impl EventHandler for Handler { } async fn ready(&self, ctx: Context, ready: Ready) { - println!("{} v0.2 is connected!", ready.user.name); + println!("{} v0.3 is connected!", ready.user.name); #[cfg(feature="RELEASE")] { use util::debug::hello; diff --git a/src/other/tenor_builder.rs b/src/other/tenor_builder.rs index 01a94ef..4f0de5a 100644 --- a/src/other/tenor_builder.rs +++ b/src/other/tenor_builder.rs @@ -120,7 +120,6 @@ impl Tenor { let q: String = form_urlencoded::byte_serialize(query.as_bytes()).collect(); - // TODO encode query for urls (replace special characters and stuff) let base_url = "https://tenor.googleapis.com/v2/search?"; let api_key = dotenv_var("TENORV2").context("TENORV2 key not found in the .env")?;