mirror of
https://github.com/jech/galene.git
synced 2024-11-23 00:55:58 +01:00
Implement /muteall.
This commit is contained in:
parent
63e2b5a4c4
commit
b600be8100
1 changed files with 8 additions and 0 deletions
|
@ -2032,6 +2032,14 @@ commands.mute = {
|
||||||
f: userMessage,
|
f: userMessage,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
commands.muteall = {
|
||||||
|
description: 'mute all remote users',
|
||||||
|
predicate: operatorPredicate,
|
||||||
|
f: (c, r) => {
|
||||||
|
serverConnection.userMessage('mute', null, null, true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
commands.warn = {
|
commands.warn = {
|
||||||
parameters: 'user message',
|
parameters: 'user message',
|
||||||
description: 'send a warning to a user',
|
description: 'send a warning to a user',
|
||||||
|
|
Loading…
Reference in a new issue