clean up
This commit is contained in:
parent
772559a2f3
commit
77b854ab4f
1 changed files with 2 additions and 3 deletions
|
@ -203,11 +203,10 @@ app.event('message', async (body) => {
|
|||
|
||||
app.command('/countstatus', async ({ command, ack, respond }) => {
|
||||
await ack()
|
||||
const { text, user_id } = command
|
||||
const channel = 'CDJMS683D'
|
||||
|
||||
let oldest = await fetchOldest(channel);
|
||||
let latest = await fetchLatest(channel);
|
||||
let oldest = await fetchOldest(channel)
|
||||
let latest = await fetchLatest(channel)
|
||||
|
||||
await respond({
|
||||
text: `The day's current progress is *${latest - oldest}*!`,
|
||||
|
|
Loading…
Reference in a new issue