From bfe97a0acb748e65f51cd8f8b35112e3e2c24201 Mon Sep 17 00:00:00 2001 From: jellywx Date: Wed, 16 Jun 2021 16:38:55 +0100 Subject: [PATCH] added a couple of messages and updated invite link --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 10 +++++++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 15668d8..807fd05 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1723,7 +1723,7 @@ dependencies = [ [[package]] name = "soundfx-rs" -version = "1.2.5" +version = "1.3.0" dependencies = [ "dashmap", "dotenv", diff --git a/Cargo.toml b/Cargo.toml index 7dbafe0..4310403 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "soundfx-rs" -version = "1.2.5" +version = "1.3.0" authors = ["jellywx "] edition = "2018" diff --git a/src/main.rs b/src/main.rs index 9da9c40..b374b1c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -395,8 +395,12 @@ Please select a category from the following: invoke .respond( ctx.http.clone(), - CreateGenericResponse::new() - .embed(|e| e.title("Help").color(THEME_COLOR).description(body)), + CreateGenericResponse::new().embed(|e| { + e.title("Help") + .color(THEME_COLOR) + .description(body) + .footer(|f| f.text("Get slash command support! Reinvite from ?info")) + }), ) .await?; } else { @@ -711,7 +715,7 @@ async fn info( Reset prefix: `@{0} prefix ?` -Invite me: https://discordapp.com/oauth2/authorize?client_id={1}&scope=bot&permissions=36703232 +Invite me: https://discord.com/api/oauth2/authorize?client_id={1}&permissions=3165184&scope=applications.commands%20bot **Welcome to SoundFX!** Developer: <@203532103185465344>