This commit is contained in:
Ladislav Hano 2024-02-18 12:30:02 +01:00
parent 982dd7df48
commit 1a3a2900ba
3 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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;

View file

@ -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")?;