Add default mod override for Spam plugin
This commit is contained in:
parent
96a9a189e0
commit
b3492090b8
1 changed files with 15 additions and 1 deletions
|
@ -44,6 +44,18 @@ export class SpamPlugin extends Plugin {
|
|||
|
||||
getDefaultOptions() {
|
||||
return {
|
||||
config: {
|
||||
max_messages: null,
|
||||
max_mentions: null,
|
||||
max_links: null,
|
||||
max_attachments: null,
|
||||
max_emojis: null,
|
||||
max_newlines: null,
|
||||
max_duplicates: null
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
level: ">=50",
|
||||
config: {
|
||||
max_messages: null,
|
||||
max_mentions: null,
|
||||
|
@ -53,6 +65,8 @@ export class SpamPlugin extends Plugin {
|
|||
max_newlines: null,
|
||||
max_duplicates: null
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue