From b66a4f3b32ca4fc699353ae4480557be31481d71 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 28 Jun 2018 17:41:49 +0800 Subject: [PATCH] add comment --- libs/line-message/commands/group.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/line-message/commands/group.js b/libs/line-message/commands/group.js index 8e44807..633aab2 100644 --- a/libs/line-message/commands/group.js +++ b/libs/line-message/commands/group.js @@ -187,6 +187,12 @@ const delPage = async (txt = '', source = {}, db) => { } } +/** + * add twitch channel notify to group + * @param {string} txt command body format => twitch_user type tmpl + * @param {object} source + * @param {object} db + */ const addTwitch = async (txt = '', source = {}, db) => { if (!db) return null if (!('type' in source) || !('groupId' in source) || !('userId' in source)) return null