Revert "Add /countstatus command"

This commit is contained in:
Avi 2020-12-09 16:16:39 -08:00 committed by GitHub
parent a06ffde16e
commit 46cd41d642
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -201,19 +201,6 @@ app.event('message', async (body) => {
}
});
app.command('/countstatus', async ({ command, ack, respond }) => {
await ack()
const channel = 'CDJMS683D'
let oldest = await fetchOldest(channel)
let latest = await fetchLatest(channel)
await respond({
text: `The day's current progress is *${latest - oldest}*!`,
response_type: 'ephemeral'
})
});
(async (req, res) => {
// Start your app
try {