allthingslinux / tux

Tux is an all in one bot for the All Things Linux discord server.
https://discord.gg/linux
GNU General Public License v3.0
84 stars 25 forks source link

Lockdown Features #428

Open kzndotsh opened 2 months ago

kzndotsh commented 2 months ago

Example use case: during a raid, a mod can $ld / $lock / etc a channel to block any messages from being sent. The same approach can be done for other features, channel types, or even roles (removing perms, etc)

fndov commented 1 month ago

For standard Raid Protection, Tux needs:

$lock - Command to initiate a lockdown of specific channels or the entire server.

Synopsis

$lock [option...] parameter

where parameter is one of the following:

Main commands:

$lock #channel1 #channel2    # Lock specified channels
$serverlock                  # Lock all server channels
$lock ?t kick                # Auto-kick new members
$lock ?t ban                 # Auto-ban new members
$lock ?t roles               # Lock all permissions from roles  
$lock ?t media               # Lock all send media permission
$lock ?t gif                 # Lock all send gif permission

Reverse

w!unlock - Command to unlock specific channels or the entire server.

Synopsis

w!unlock [option...] parameter

where parameter is one of the following:

Main commands:

$unlock #channel1 #channel2    # Unlock specified channels
$serverunlock                  # Unlock all server channels
$unlock ?t kick                # Disable Auto-kick new members
$unlock ?t ban                 # Disable Auto-ban new members
$unlock ?t roles               # Unlock all permissions from roles  
$unlock ?t media               # Unlock all send media permission
$unlock ?t gif                 # Unlock all send gif permission