The WidgetBot component accepts the following props

# Props

Definitions

interface IProps {
  server: string
  channel?: string

  username?: string
  avatar?: string

  defer?: boolean

  shard?: string

  className?: string
  onAPI?: (api: Client) => void

  style?: React.CSSProperties
  height?: number
  width?: number

  options?: { [key: string]: string }
}

export default IProps
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22