PrivateParlorXT::SpoilerCommand
Inherits PrivateParlorXT::CommandHandler < PrivateParlorXT::Handler < Reference < Object
A command used to add or remove a spoiler on a message after it has been sent.
Instance methods
Adds a spoiler to the given message if it does not have one, or removes it if it does, and message meets requirements
Returns a Tourmaline::InputMedia from the media contents of the given message
Returns nil unless message contains a photo, video, or animation/GIF
spoil_messages(reply : Tourmaline::Message, user : User, input : Tourmaline::InputMedia, services : Services) : Nil
Spoils the given media message for all receivers by editing the media with the given input.