From b0253b034006bc26ca41898f8f3e860d70ce7e46 Mon Sep 17 00:00:00 2001 From: GnomedDev Date: Fri, 15 Nov 2024 18:57:30 +0000 Subject: [PATCH] Fix panic when Message::author_permissions cannot find channel --- src/dispatch/permissions/prefix/cache.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dispatch/permissions/prefix/cache.rs b/src/dispatch/permissions/prefix/cache.rs index bae9e8a94bb..47179d480d9 100644 --- a/src/dispatch/permissions/prefix/cache.rs +++ b/src/dispatch/permissions/prefix/cache.rs @@ -17,8 +17,7 @@ pub(in crate::dispatch::permissions) async fn get_author_and_bot_permissions