1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-22 23:35:46 +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,
};
commands.muteall = {
description: 'mute all remote users',
predicate: operatorPredicate,
f: (c, r) => {
serverConnection.userMessage('mute', null, null, true);
}
}
commands.warn = {
parameters: 'user message',
description: 'send a warning to a user',