From edce32364fe18b584c5c0f4e50f21ce8d90bf93f Mon Sep 17 00:00:00 2001 From: Jakub Kuczys Date: Sun, 10 May 2026 22:30:03 +0200 Subject: [PATCH] Fix Red.send_interactive() permission check again (#6697) --- redbot/core/bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/redbot/core/bot.py b/redbot/core/bot.py index bbcf4595d..891a7cadd 100644 --- a/redbot/core/bot.py +++ b/redbot/core/bot.py @@ -2546,6 +2546,7 @@ class Red( n_remaining = len(messages) - idx files_perm = ( isinstance(channel, discord.abc.User) + or channel.guild is None or channel.permissions_for(channel.guild.me).attach_files ) options = ("more", "file") if files_perm else ("more",)