-
-
Save jschang19/8410a54e83c74cbd9ab16efc28d0b897 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
else if (userMessage == "報名人數" | userMessage == "名單") { | |
var ready_namelist = "【 報名名單 】\n"; | |
for (var x = 1; x <= current_list_row; x++) { | |
ready_namelist = ready_namelist + "\n" + reserve_list.getRange(x, 1).getValue(); | |
} | |
reply_message = [ | |
{ | |
"type": "text", | |
"text": "共有 " + current_list_row + " 位同學報名 ✋" | |
}, | |
{ | |
"type": "text", | |
"text": ready_namelist | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment