From 07e6f1b2643c1f238106e55d22064a9147103817 Mon Sep 17 00:00:00 2001 From: Jakub Kuczys Date: Tue, 3 Mar 2026 01:34:34 +0100 Subject: [PATCH] Fix send_interactive not working on User/Member objects (#6656) Co-authored-by: Kowlin Co-authored-by: Kowlin <10947836+Kowlin@users.noreply.github.com> --- redbot/core/bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/redbot/core/bot.py b/redbot/core/bot.py index 52ff9536c..61dc118ce 100644 --- a/redbot/core/bot.py +++ b/redbot/core/bot.py @@ -2487,7 +2487,8 @@ class Red( ret.append(msg) n_remaining = len(messages) - idx files_perm = ( - not channel.guild or channel.permissions_for(channel.guild.me).attach_files + isinstance(channel, discord.abc.User) + or channel.permissions_for(channel.guild.me).attach_files ) options = ("more", "file") if files_perm else ("more",) if n_remaining > 0: