UNPKG

mirai-js

Version:

QQ robot development framework based on Mirai-api-http.

10 lines (8 loc) 331 B
"use strict"; const { isBrowserEnv } = require('../util/isBrowserEnv'); module.exports = { wsStartListening: isBrowserEnv() ? require('../core/startListeningBrowser') : require('../core/startListeningNode'), wsStopListening: isBrowserEnv() ? require('../core/stopListeningBrowser') : require('../core/stopListeningNode') };