mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 15:03:16 +00:00
* nodejs: add tests to library * new tests * remove message splitting * fix race * docs * replace extract-zip with yauzl that it wraps (high severity issue) * fix ci tests * skip server tests on macos and win unless SMP_SERVER is set * fix win test * fix win test --------- Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
1.3 KiB
1.3 KiB
simplex-chat / bot / BotConfig
Interface: BotConfig
Defined in: src/bot.ts:36
Properties
dbOpts
dbOpts:
BotDbOpts
Defined in: src/bot.ts:39
events?
optionalevents?:EventSubscribers
Defined in: src/bot.ts:46
onCommands?
optionalonCommands?:object
Defined in: src/bot.ts:43
Index Signature
[key: string]: ((chatItem, command, chat) => void | Promise<void>) | undefined
onMessage?
optionalonMessage?: (chatItem,content,chat) =>void|Promise<void>
Defined in: src/bot.ts:41
Parameters
chatItem
AChatItem
content
MsgContent
chat
Returns
void | Promise<void>
options
options:
BotOptions
Defined in: src/bot.ts:40
profile
profile:
Profile
Defined in: src/bot.ts:37
simplexDomain?
optionalsimplexDomain?:string|null
Defined in: src/bot.ts:38