diff --git a/src/plugins/quickMention/index.tsx b/src/plugins/quickMention/index.tsx index 9720c7d33..df86e9b70 100644 --- a/src/plugins/quickMention/index.tsx +++ b/src/plugins/quickMention/index.tsx @@ -31,7 +31,7 @@ export default definePlugin({ start() { addButton("QuickMention", msg => { const channel = ChannelStore.getChannel(msg.channel_id); - if (!PermissionStore.can(PermissionsBits.SEND_MESSAGES, channel)) return null; + if (channel.guild_id && !PermissionStore.can(PermissionsBits.SEND_MESSAGES, channel)) return null; return { label: "Quick Mention",