interlock-network / knowbot

Knowbot is like Linux BASH for knowing things in a Github knowledgebase repository
GNU General Public License v3.0
0 stars 1 forks source link

create cat command for printing discussion post #7

Closed blairmunroakusa closed 2 years ago

blairmunroakusa commented 2 years ago

Create a cat <discussion number> command to print that discussion number.

To do this, ls_discuss() will need to include discussion number in query, and print discussion number along with results.

I am not sure if grep_discuss() should likewise include the discussion number for the cat command. ...probably.

blairmunroakusa commented 2 years ago

This cat command only prints the initial discussion post. Due to limited space, I am not sure it is appropriate to print the entire discussion into discord chat, rather, just provide initial discussion and link to discussion. Closing issue for now. image