class

PrivateParlorXT::WarnCommand

Inherits PrivateParlorXT::CommandHandler < PrivateParlorXT::Handler < Reference < Object

A command used to give a user a warning and a cooldown without deleting the message

Instance methods

do(message : Tourmaline::Message, services : Services) : Nil

Warns the user who sent a message the given message replies to if the message meets requirements

Warning a message will give the sender a warning and a cooldown, but will not delete the message

Source