refactor(proxy): w/ cycling, rm fallback.

refactor(config): adjust for cycling.
This commit is contained in:
vulet 2021-07-23 14:02:32 +08:00
parent 2f58d6bb84
commit b7e73fc533
5 changed files with 55 additions and 39 deletions

4
commands/proxy.js Normal file
View file

@ -0,0 +1,4 @@
const msg = 'Invalid proxy domain!';
exports.runQuery = (roomId, event, userInput) =>
matrixClient.sendHtmlNotice(roomId, msg, `<b>${msg}</b>`).catch(() => {});