You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/poll time=1 timeUnit=minutes question="Which operating system do you prefer?" options="Windows,MacOS,Linux,Other
測試步驟
Examples:
發布投票
When: 在 A 文字頻道中發出以下 slash command /poll time=1 timeUnit=minutes question="Which operating system do you prefer?" options="Windows,MacOS,Linux,Other"
Then:
Bot 在 A 文字頻道中,回應以下公開訊息(類似)
投票
Given 呈[發布投票]
When
member A 點選表情 1
member B 點選表情 2
member C 點選表情 1
And
一分鐘過後
Then
機器人公布投票結果(訊息):The polling result is Windows
每個人最多投一票
Given 呈[發布投票]
When
member A 點選表情 1
And
member A 點選表情 2
Then
機器人將 A 點選的表情 2 刪除
每個人最多投一票,除非他先收回上一次投票
Given 呈[發布投票]
When
member A 點選表情 1
member A 收回表情 1
And
member A 點選表情 2
Then
表情 2 should remain
注意事項
如果有任何特殊事項或需要注意的問題,請在此說明。
The text was updated successfully, but these errors were encountered:
Slash Command Quest
任務描述
Slash Command 資訊
/poll time=1 timeUnit=minutes question="Which operating system do you prefer?" options="Windows,MacOS,Linux,Other
測試步驟
Examples:
When: 在 A 文字頻道中發出以下 slash command
/poll time=1 timeUnit=minutes question="Which operating system do you prefer?" options="Windows,MacOS,Linux,Other"
Then:
Bot 在 A 文字頻道中,回應以下公開訊息(類似)
投票
Given 呈[發布投票]
When
member A 點選表情 1
member B 點選表情 2
member C 點選表情 1
And
一分鐘過後
Then
機器人公布投票結果(訊息):The polling result is
Windows
每個人最多投一票
Given 呈[發布投票]
When
member A 點選表情 1
And
member A 點選表情 2
Then
機器人將 A 點選的表情 2 刪除
每個人最多投一票,除非他先收回上一次投票
Given 呈[發布投票]
When
member A 點選表情 1
member A 收回表情 1
And
member A 點選表情 2
Then
表情 2 should remain
注意事項
如果有任何特殊事項或需要注意的問題,請在此說明。
The text was updated successfully, but these errors were encountered: