Each message, represented by an object, discord.Message, should have the extra property ".spoilers", which would return an iteration of every discord.Spoiler objects the message has.
This discord.Spoiler would have the ".content" property, to display ONLY the spoiler content (not the message content). It would also have the ".seen" property which returns an iteration of ID of users who have read the spoiler.
Which means that when a spoiler is revealed, it won't be able to turn back to black shade thing. 1) Might be useful for bots for making new kind of discord games. 2) Why would a spoiler turn back to black once revealed? Unless confusing the user like "haven't i seen this spoiler yet?"
If you're wondering, they turn back to black when you switch and reswitch channels :p
Iniciar sesión para dejar un comentario.