From fc96ae526f92e4cd78182fd989ad5b63ebd00fea Mon Sep 17 00:00:00 2001 From: jude Date: Mon, 10 Jun 2024 18:30:55 +0100 Subject: [PATCH] Default permission checks to true --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/hooks.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 48a0186..935c8b9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2431,7 +2431,7 @@ checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "reminder-rs" -version = "1.7.20" +version = "1.7.21" dependencies = [ "base64 0.22.1", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 3a67953..28f6af0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reminder-rs" -version = "1.7.20" +version = "1.7.21" authors = ["Jude Southworth "] edition = "2021" license = "AGPL-3.0 only" diff --git a/src/hooks.rs b/src/hooks.rs index b3c42a4..dc0546c 100644 --- a/src/hooks.rs +++ b/src/hooks.rs @@ -80,7 +80,7 @@ async fn check_self_permissions(ctx: Context<'_>) -> bool { None } }) - .unwrap_or((false, false, false)); + .unwrap_or((true, true, true)); if manage_webhooks && send_messages && embed_links { true