shuttle update & 'msg' fix

This commit is contained in:
Moritz Roßbacher 2023-10-24 18:36:04 +02:00
parent 021b2e0dc5
commit c99ff53ee3
3 changed files with 2038 additions and 81 deletions

2110
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -10,9 +10,10 @@ poise = "0.5.6"
serenity = { version = "0.11.6", default-features = false, features = ["client", "gateway", "model", "rustls_backend", "utils"]} serenity = { version = "0.11.6", default-features = false, features = ["client", "gateway", "model", "rustls_backend", "utils"]}
tokio = { version = "1.21.2", features = ["macros", "rt-multi-thread", "rt"] } tokio = { version = "1.21.2", features = ["macros", "rt-multi-thread", "rt"] }
env_logger = "0.10.0" env_logger = "0.10.0"
shuttle-secrets = "0.30.0" shuttle-secrets = "0.30.1"
shuttle-poise = "0.30.0" shuttle-poise = "0.30.1"
shuttle-runtime = "0.30.0" shuttle-runtime = "0.30.1"
anyhow = "1.0.75" anyhow = "1.0.75"
tracing = "0.1.40" tracing = "0.1.40"
regex = "1.10.2" regex = "1.10.2"
cargo-shuttle = "0.30.1"

View file

@ -101,7 +101,7 @@ pub(crate) async fn lfg(
if regex.is_match(&t) { if regex.is_match(&t) {
reply = String::from("Your Note seems to match a ping <:Maark:1128577127931985950>"); reply = String::from("Your Note seems to match a ping <:Maark:1128577127931985950>");
} else { } else {
reply.push_str(format!("\nNote: `{}`", t).as_str()); reply.push_str(format!("\nNote: {}", t).as_str());
} }
} }