Default permission checks to true

This commit is contained in:
jude 2024-06-10 18:30:55 +01:00
parent 8881ef0f85
commit fc96ae526f
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@ -2431,7 +2431,7 @@ checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56"
[[package]] [[package]]
name = "reminder-rs" name = "reminder-rs"
version = "1.7.20" version = "1.7.21"
dependencies = [ dependencies = [
"base64 0.22.1", "base64 0.22.1",
"chrono", "chrono",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "reminder-rs" name = "reminder-rs"
version = "1.7.20" version = "1.7.21"
authors = ["Jude Southworth <judesouthworth@pm.me>"] authors = ["Jude Southworth <judesouthworth@pm.me>"]
edition = "2021" edition = "2021"
license = "AGPL-3.0 only" license = "AGPL-3.0 only"

View File

@ -80,7 +80,7 @@ async fn check_self_permissions(ctx: Context<'_>) -> bool {
None None
} }
}) })
.unwrap_or((false, false, false)); .unwrap_or((true, true, true));
if manage_webhooks && send_messages && embed_links { if manage_webhooks && send_messages && embed_links {
true true