Cockatrice/webclient/src/websocket/persistence/AdminPresistence.ts
2024-08-16 22:31:57 -04:00

19 lines
447 B
TypeScript

import { ServerDispatch } from 'store';
export class AdminPersistence {
static adjustMod(userName: string, shouldBeMod: boolean, shouldBeJudge: boolean) {
ServerDispatch.adjustMod(userName, shouldBeMod, shouldBeJudge)
}
static reloadConfig() {
ServerDispatch.reloadConfig();
}
static shutdownServer() {
ServerDispatch.shutdownServer();
}
static updateServerMessage() {
ServerDispatch.updateServerMessage();
}
}