added a couple of messages and updated invite link

This commit is contained in:
jellywx 2021-06-16 16:38:55 +01:00
parent 1f62951131
commit bfe97a0acb
3 changed files with 9 additions and 5 deletions

2
Cargo.lock generated
View File

@ -1723,7 +1723,7 @@ dependencies = [
[[package]] [[package]]
name = "soundfx-rs" name = "soundfx-rs"
version = "1.2.5" version = "1.3.0"
dependencies = [ dependencies = [
"dashmap", "dashmap",
"dotenv", "dotenv",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "soundfx-rs" name = "soundfx-rs"
version = "1.2.5" version = "1.3.0"
authors = ["jellywx <judesouthworth@pm.me>"] authors = ["jellywx <judesouthworth@pm.me>"]
edition = "2018" edition = "2018"

View File

@ -395,8 +395,12 @@ Please select a category from the following:
invoke invoke
.respond( .respond(
ctx.http.clone(), ctx.http.clone(),
CreateGenericResponse::new() CreateGenericResponse::new().embed(|e| {
.embed(|e| e.title("Help").color(THEME_COLOR).description(body)), e.title("Help")
.color(THEME_COLOR)
.description(body)
.footer(|f| f.text("Get slash command support! Reinvite from ?info"))
}),
) )
.await?; .await?;
} else { } else {
@ -711,7 +715,7 @@ async fn info(
Reset prefix: `@{0} prefix ?` 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!** **Welcome to SoundFX!**
Developer: <@203532103185465344> Developer: <@203532103185465344>