Fix Red.send_interactive() permission check again (#6697)

This commit is contained in:
Jakub Kuczys
2026-05-10 22:30:03 +02:00
committed by GitHub
parent 7305f44f68
commit edce32364f
+1
View File
@@ -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",)