teamspeak.js - v1.11.0
    Preparing search index...

    Class BanManager

    Manages the bans in the TeamSpeak server.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    • Creates a ban.

      Parameters

      • data: BanCreateOptions

        The options for creating the ban.

      Returns Promise<void>

      A promise that resolves when the ban has been created.

    • Deletes all bans.

      Returns Promise<void>

      A promise that resolves when the bans have been deleted.

    • Fetches all bans.

      Returns Promise<Collection<number, Ban>>

      A promise that resolves with a collection of bans.