Skip to main content
method EventHandler.prototype.grab
import { EventHandler } from "https://deno.land/x/sono@v1.1/src/eventhandler.ts";

Provides the list of clients that are connected to the server

Parameters

packet: Packet
  • Message containing channel to change client to
client: Client
clients: { [key: string]: Client; }
channelsList: { [key: string]: Record<string, Client>; }