Skip to content

Commit

Permalink
Minor changes to antiraid
Browse files Browse the repository at this point in the history
  • Loading branch information
Exenifix committed May 2, 2022
1 parent fc3e278 commit 8007e8a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ AIAS also has an innovative word filter that can find blacklisted words in the m
3. Add/remove words with `/blacklist add` and `/blacklist remove`
4. Set the ignored channels and roles with `/blacklist ignore` command group

## Antiraid
Antiraid makes sure huge amount of members doesn't join just at once. **This feature is in BETA!**

### Quick Setup
1. Enable the system with `/antiraid enable`
2. Setup rate per using `/antiraid setup`
3. Pick the punishment with `/antiraid setpunishment`

### Blacklist Modes
- `common` blacklist mode searches for *exact matches* in words of the message.
- `wild` blacklist mode searches for *any occurences __inside__* of the words (including the exact match).
Expand Down
2 changes: 1 addition & 1 deletion ext/automod_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ async def antiraid(self, _):
pass

@antiraid.sub_command(
name="enable", description="Enables antiraid for this server."
name="enable", description="Enables antiraid for this server. BETA FEATURE!"
)
async def enable(self, inter: disnake.ApplicationCommandInteraction):
await self.bot.db.get_guild(inter.guild.id).set_antiraid_enabled(True)
Expand Down

0 comments on commit 8007e8a

Please sign in to comment.