Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ThreadEvents

Hierarchy

  • ThreadEvents

Index

Properties

*

*: { receive: any; send: { d: any; event: keyof ThreadEvents } }

Type declaration

BEGIN

BEGIN: { receive: null; send: null }

Type declaration

  • receive: null
  • send: null

BROADCAST_EVAL

BROADCAST_EVAL: { receive: any[]; send: string }

Type declaration

  • receive: any[]
  • send: string

DEBUG

DEBUG: { receive: null; send: string }

Type declaration

  • receive: null
  • send: string

EVAL

EVAL: { receive: any; send: string }

Type declaration

  • receive: any
  • send: string

GET_GUILD

GET_GUILD: { receive: APIGuild; send: { id: string } }

Type declaration

  • receive: APIGuild
  • send: { id: string }
    • id: string

GET_STATS

GET_STATS: { receive: ClusterStats; send: null }

Type declaration

KILL

KILL: { receive: null; send: null }

Type declaration

  • receive: null
  • send: null

LOG

LOG: { receive: null; send: string }

Type declaration

  • receive: null
  • send: string

MASTER_EVAL

MASTER_EVAL: { receive: any; send: string }

Type declaration

  • receive: any
  • send: string

REGISTER_SHARD

REGISTER_SHARD: { receive: {}; send: { id: number } }

Type declaration

  • receive: {}
    • send: { id: number }
      • id: number

    RESTART_CLUSTER

    RESTART_CLUSTER: { receive: null; send: { id: any } }

    Type declaration

    • receive: null
    • send: { id: any }
      • id: any

    RESTART_SHARD

    RESTART_SHARD: { receive: null; send: { id: number } }

    Type declaration

    • receive: null
    • send: { id: number }
      • id: number

    SHARD_READY

    SHARD_READY: { receive: null; send: { id: number } }

    Type declaration

    • receive: null
    • send: { id: number }
      • id: number

    START

    START: { receive: {}; send: { options: CompleteBotOptions; shards: number[] } }

    Type declaration

    • receive: {}
      • send: { options: CompleteBotOptions; shards: number[] }
        • options: CompleteBotOptions
        • shards: number[]

      START_SHARD

      START_SHARD: { receive: { err: boolean }; send: { id: number } }

      Type declaration

      • receive: { err: boolean }
        • err: boolean
      • send: { id: number }
        • id: number

      STATS

      STATS: { receive: ClusterStats[]; send: null }

      Type declaration

      Generated using TypeDoc