make leaderboard ephemeral

This commit is contained in:
Caleb Denio 2020-12-23 12:10:52 -05:00
parent 6e0afaff2e
commit 0a3d526649

View file

@ -148,7 +148,7 @@ func HandleLeaderboardSlashCommand(w http.ResponseWriter, r *http.Request) {
resp, _ := json.Marshal(map[string]interface{}{ resp, _ := json.Marshal(map[string]interface{}{
"blocks": blocks, "blocks": blocks,
"response_type": "in_channel", "response_type": "ephemeral",
}) })
w.Header().Add("Content-Type", "application/json") w.Header().Add("Content-Type", "application/json")