interface Ribbon {
    err: any;
    error: any;
    kick: {
        reason: string;
    };
    nope: {
        reason: string;
    };
    notify:
        | string
        | {
            bgcolor?: `#${string}`;
            buttons?: {
                classes?: string;
                icon?: string;
                label: string;
            }[];
            classes?: string;
            color?: `#${string}`;
            fcolor?: `#${string}`;
            header?: string;
            icon?: string;
            id?: string;
            msg: string;
            subcolor?: `#${string}`;
            subicon?: string;
            timeout?: number;
        }
        | {
            msg: string;
            type:
                | "err"
                | "announce"
                | "ok"
                | "warn";
        }
        | {
            msg: string;
            timeout?: number;
            type: "deny";
        };
    packets: {
        data: {
            packets: Buffer[];
        };
    };
    ping: {
        recvid: number;
    };
    server.announcement: {
        msg: string;
        ts: number;
        type: string;
    };
    server.authorize: {
        maintenance: boolean;
        social: {
            notifications: Notification[];
            presences: {
                [userId: string]: {
                    detail: string;
                    invitable: boolean;
                    status: string;
                };
            };
            relationships: Types.Social.Relationship[];
            total_online: number;
        };
        success: boolean;
        worker: {
            flag: string;
            name: string;
        };
    };
    server.maintenance: {};
    server.migrate: {
        endpoint: string;
    };
    server.migrated: {};
    session: {
        ribbonid: string;
        tokenid: string;
    };
}

Properties

err: any
error: any
kick: {
    reason: string;
}
nope: {
    reason: string;
}
notify:
    | string
    | {
        bgcolor?: `#${string}`;
        buttons?: {
            classes?: string;
            icon?: string;
            label: string;
        }[];
        classes?: string;
        color?: `#${string}`;
        fcolor?: `#${string}`;
        header?: string;
        icon?: string;
        id?: string;
        msg: string;
        subcolor?: `#${string}`;
        subicon?: string;
        timeout?: number;
    }
    | {
        msg: string;
        type:
            | "err"
            | "announce"
            | "ok"
            | "warn";
    }
    | {
        msg: string;
        timeout?: number;
        type: "deny";
    }
packets: {
    data: {
        packets: Buffer[];
    };
}
ping: {
    recvid: number;
}
server.announcement: {
    msg: string;
    ts: number;
    type: string;
}
server.authorize: {
    maintenance: boolean;
    social: {
        notifications: Notification[];
        presences: {
            [userId: string]: {
                detail: string;
                invitable: boolean;
                status: string;
            };
        };
        relationships: Types.Social.Relationship[];
        total_online: number;
    };
    success: boolean;
    worker: {
        flag: string;
        name: string;
    };
}
server.maintenance: {}
server.migrate: {
    endpoint: string;
}
server.migrated: {}
session: {
    ribbonid: string;
    tokenid: string;
}