Skip to content

Commit

Permalink
Allow just passing client with botoptions optional (#2194)
Browse files Browse the repository at this point in the history
  • Loading branch information
u9g committed Sep 12, 2021
1 parent 27a2fb8 commit 1fea8e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { Block } from 'prismarine-block'
import { Entity } from 'prismarine-entity'
import { ChatMessage } from 'prismarine-chat'

export function createBot (options: { client: Client } & Partial<BotOptions>): Bot
export function createBot (options: BotOptions): Bot

export interface BotOptions extends ClientOptions {
Expand Down

0 comments on commit 1fea8e3

Please sign in to comment.