meinu
    Preparing search index...

    Class Meinu

    Meinu client class. Extends discord.js's Client.

    Hierarchy

    Index

    Constructors

    Properties

    name: string
    handler: undefined | InteractionHandler

    handler for interactions

    commands: Collection<string, Command<Meinu>>
    meinuVersion: string = packageFile.version

    Accessors

    • get isSharding(): boolean

      Returns boolean

      whether the bot is sharding

    • get shardId(): null | number

      Returns null | number

      the shard id, if sharding

    Methods

    • Returns Promise<number>

      the number of guilds the bot is in

    • Returns Promise<number>

      the number of members in all guilds the bot is in

    • Initializes the bot

      Parameters

      • Optional_token: string

      Returns Promise<Meinu>