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

Direct messages to a specific client

Parameters

packet: Packet
  • Message containing channel to change client to
client: Client
  • Client to change channel
clients: { [key: string]: Client; }
  • Object containing all channels in Sono server