oscarmlage / bofhers

#BOFHers project
8 stars 5 forks source link

Edit quote object and command !quote #20

Open wakkah opened 4 years ago

wakkah commented 4 years ago

in the !addquote command, allow something like !addquote TEXT [tag]

if you send !quote tag, it shows quotes in that quote-tag-list.

This allows things like !quote insult !quote joke !quote rusa, an so on.

With this variaton, you can have some of the others issues solved (like the insult, salutation, ie)

wakkah commented 4 years ago

Because you have to edit the object Quote, it would be nice to store the id of the author, that way, anyone can go to the bot channel and with command /list, get all the quotes that he or she has sent. it can be shown like: [1] quoteText1 [4] quoteText2 [123] quoteText3

then, if the user wants to edit, they can send the command /edit 4 newquoteText2