1 import type { Player } from '../../shared/player';
2 import type { Server, Socket } from 'socket.io';
4 type ChatCommandHandler = (command: string, sender: Socket, player: Player, io: Server) => Promise<void>;
6 export class ChatCommand {
10 public handler: ChatCommandHandler