mikeshardmind / salamander-v1

Apache License 2.0
6 stars 0 forks source link

[Feature] Anti-raid options #36

Open mikeshardmind opened 3 years ago

mikeshardmind commented 3 years ago

Specifics have been enumerated elsewhere, but as these methods are not circumventable, putting the plan out now isn't an issue.

  1. Enable a role/roles which are immune from raid mode
  2. During raid mode, non-immune users can be automatically tempbanned for flood.
  3. Enable a lockdown mode that does a recalculation of permissions to ensure users with those roles retain access to the same channels, preventing access without those roles.
  4. Enable an optional automatic gain/loss of an immunity role based on activity requirements.

This combination prevents running into ratelimit issues during raids (RL on bans) and should minimize impact of false positives.