From c5e5c5a1f192117e9afc1a055324136608ffed42 Mon Sep 17 00:00:00 2001 From: asleepyskye Date: Wed, 16 Jul 2025 12:01:01 -0400 Subject: [PATCH] chore(bot): format --- PluralKit.Bot/CommandSystem/Context/Context.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/CommandSystem/Context/Context.cs b/PluralKit.Bot/CommandSystem/Context/Context.cs index d70ee7d2..9bab740e 100644 --- a/PluralKit.Bot/CommandSystem/Context/Context.cs +++ b/PluralKit.Bot/CommandSystem/Context/Context.cs @@ -92,7 +92,7 @@ public class Context if (embed != null && !botPerms.HasFlag(PermissionSet.EmbedLinks)) throw new PKError("PluralKit does not have permission to send embeds in this channel. Please ensure I have the **Embed Links** permission enabled."); - + if (files != null && !botPerms.HasFlag(PermissionSet.AttachFiles)) throw new PKError("PluralKit does not have permission to attach files in this channel. Please ensure I have the **Attach Files** permission enabled.");