class

PrivateParlorXT::ToggleDebugCommand

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

A command used to enable or disable debug mode, which relays a copy of a sent message to the sender if it is enabled.

Instance methods

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

Relays a copy of a sent message back to the sender if debug mode is enabled; relays messages normally if debug mode is disabled

Source