1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-23 00:55:58 +01:00

Implement /muteall.

This commit is contained in:
Juliusz Chroboczek 2021-01-11 16:30:19 +01:00
parent 63e2b5a4c4
commit b600be8100

View file

@ -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',