mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
refactor imports (#5058)
This commit is contained in:
parent
c4bf9eb61c
commit
bdcd083eea
8 changed files with 12 additions and 18 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { ModeratorCommands } from 'websocket';
|
||||
import { LogFilters } from 'types';
|
||||
|
||||
export default class ModeratorService {
|
||||
export class ModeratorService {
|
||||
static banFromServer(minutes: number, userName?: string, address?: string, reason?: string,
|
||||
visibleReason?: string, clientid?: string, removeMessages?: number): void {
|
||||
ModeratorCommands.banFromServer(minutes, userName, address, reason, visibleReason, clientid, removeMessages);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue