nyx Typedoc
    Preparing search index...

    Interface CoreClient<Emitter>

    A NyxClient that @discordjs/core bots can use, whether interactions arrive through the gateway or another transport.

    interface CoreClient<Emitter extends EventEmitterLike = EventEmitterLike> {
        destroy(): Promise<void>;
        getApi(): API;
        getApplicationId(): string;
        getEmitter(): Emitter;
        login(): Promise<void>;
    }

    Type Parameters

    Hierarchy (View Summary)

    Implemented by

    Index