Skip to content

Commit

Permalink
Add bot.registry to ts declaration (#2886)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtm516 authored Jan 2, 2023
1 parent 55af9bc commit d53f824
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { Recipe } from 'prismarine-recipe'
import { Block } from 'prismarine-block'
import { Entity } from 'prismarine-entity'
import { ChatMessage } from 'prismarine-chat'
import { Registry } from 'prismarine-registry'

export function createBot (options: { client: Client } & Partial<BotOptions>): Bot
export function createBot (options: BotOptions): Bot
Expand Down Expand Up @@ -192,6 +193,7 @@ export interface Bot extends TypedEmitter<BotEvents> {
currentWindow: Window | null
simpleClick: simpleClick
tablist: Tablist
registry: Registry

connect: (options: BotOptions) => void

Expand Down

0 comments on commit d53f824

Please sign in to comment.