Triangle.js Docs
    Preparing search index...

    Interface Config

    interface Config {
        autoLoadDMs: boolean;
        autoProcessNotifications: boolean;
        suppressDMErrors: boolean;
    }
    Index

    Properties

    autoLoadDMs: boolean

    When set to true, DMs will be automatically loaded upon receiving a new DM from a user. You can always manually load DMs using Relationship.loadDMs()

    true
    
    autoProcessNotifications: boolean

    When set to true, new notifications (including missed notifications when initializing) will be processed and marked as seen. For instance, a friend notification will automatically trigger the "client.friended" event and then be marked as seen.

    true
    
    suppressDMErrors: boolean

    When set to true, errors when sending DMs will not be thrown.

    false