Skip to content

/set hush

Syntax

/set hush <user>

  • user: A valid Discord User, defaults to the user executing the command. User to apply this modifier to.

Usage

This command will apply the hush text modifier, which will "hush" the user, by "censoring" all of their messages, using Discord's Markdown modifier, ||, to achieve this result.


Simplified internal logic

flowchart TD
    CommandReceived[Command Received] --> ExtractTfData[[extract_tf_data]]
    ExtractTfData --> CheckModifier[[Check that the modifier isn't already being applied]]
    CheckModifier --> ApplyModifier[[Apply the modifier]]
    ApplyModifier --> SendAnswer[[Send answer]]