-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
256 additions
and
26 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: anticaps | ||
|
||
description: |- | ||
This module adds channel mode `B` (anticaps) which allows channels to block messages which are excessively capitalised. | ||
configuration: | ||
- name: anticaps | ||
description: |- | ||
The `<anticaps>` tag defines settings about how the anticaps module should behave. This tag can only be defined once. | ||
attributes: | ||
- name: lowercase | ||
type: Text | ||
required: false | ||
default: abcdefghijklmnopqrstuvwxyz | ||
description: |- | ||
A list of characters to treat as lower case letters. | ||
- name: uppercase | ||
type: Text | ||
required: false | ||
default: ABCDEFGHIJKLMNOPQRSTUVWXYZ | ||
description: |- | ||
A list of characters to treat as upper case letters. | ||
details: "" | ||
example: |- | ||
```xml | ||
<anticaps lowercase="abcdefghijklmnopqrstuvwxyz" | ||
uppercase="ABCDEFGHIJKLMNOPQRSTUVWXYZ"> | ||
``` | ||
chmodes: | ||
chars: | ||
- name: anticaps | ||
char: B | ||
type: Parameter | ||
syntax: '{ban|block|mute|kick|kickban}:<minlen>:<percent>' | ||
usable_by: Channel operators | ||
description: |- | ||
Enables blocking excessively capitalised messages. | ||
example: | ||
- description: |- | ||
Kicks users who send a message which is longer than five characters and is more than 75% capital letters | ||
text: |- | ||
/MODE #channel +B kick:5:75 | ||
exemptions: | ||
- name: anticaps | ||
description: Allows exempted users to send overly capitalised messages. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: hidechans | ||
|
||
description: |- | ||
This module adds user mode `I` (hidechans) which hides the channels users with it set are in from their `/WHOIS` response. | ||
configuration: | ||
- name: hidechans | ||
description: |- | ||
The `<hidechans>` tag defines settings about how the hidechans module should behave. This tag can only be defined once. | ||
attributes: | ||
- name: affectsopers | ||
type: Boolean | ||
required: false | ||
default: 'No' | ||
description: |- | ||
Whether server operators are affected by the user mode. | ||
details: "" | ||
example: |- | ||
```xml | ||
<hidechans affectsopers="no"> | ||
``` | ||
umodes: | ||
chars: | ||
- name: hidechans | ||
char: I | ||
type: Switch | ||
syntax: null | ||
usable_by: Anyone | ||
description: |- | ||
Hides the channels the user is in from their `/WHOIS` response. | ||
example: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.