Skip to content

Commit

Permalink
improve info emitted for /archive, /unarchive
Browse files Browse the repository at this point in the history
  • Loading branch information
cblgh committed Feb 27, 2021
1 parent f9ef0a9 commit ae5c955
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ module.exports = {
res.info("no channels are archived")
} else {
archivedChannels.forEach(channel => {
res.info(channel)
res.info(` ${channel}`, { channel })
})
}

Expand All @@ -108,7 +108,7 @@ module.exports = {
res.info("there are no restored channels. restore an archived channel with /unarchive <channel name>")
} else {
unarchivedChannels.forEach(channel => {
res.info(channel)
res.info(` ${channel}`, { channel })
})
}
res.end()
Expand Down

0 comments on commit ae5c955

Please sign in to comment.