mod(2) - LynxBot manual
NAME
mod - perform moderation actions
SYNOPSIS
$mod -b USER [REASON...]
$mod -t [-l LEN] USER [REASON...]
DESCRIPTION
The mod command is used to perform chat moderation actions.
People can either be timed out or banned, through the -t and -b operations, respectively.
All moderation actions performed through the mod command are recorded in the file $CONFIGDIR/modlog.
USER is the Twitch username of the offender. If the user is not currently in the channel, the command will fail.
The optional argument REASON can be used to provide a reason for the action. This will be recorded in the modlog.
OPTIONS
- -b, --ban
- ban USER from the channel
- --help
- print brief description and usage information
- -l, --length=LEN
- with -t: timeout for LEN seconds
- -t, --timeout
- timeout USER from the channel
EXAMPLES
Bans the user exitsmells from the channel:
$mod -b exitsmells
Timeout the user andrewwigins for 120 seconds (reason: spamming):
$mod -t -l 120 andrewwigins spamming