UNPKG
xmppjs-chat-bot
Version:
latest (0.7.0)
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.10
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
0.0.2
Server-side XMPP chat bot
github.com/JohnXLivingston/xmppjs-chat-bot
JohnXLivingston/xmppjs-chat-bot
xmppjs-chat-bot
/
lib
/
config
/
listen.d.ts
5 lines
(4 loc)
•
241 B
TypeScript
View Raw
1
2
3
4
5
import
{
Logger
}
from
'../logger'
;
import
{
RoomConf
}
from
'./read'
;
declare
function
listenRoomConfDir
(
logger
:
Logger
,
dir
:
string
,
callback
: (conf: RoomConf) =>
Promise
<
void
>
):
Promise
<
null
| (
() =>
void
)>;
export
{ listenRoomConfDir };