I set the permissions on addquote so anyone can add, then I (or a mod) can delete the quote and change the name that the quote is attributed to. This of course assumes that you trust people in chat, and I get why you are looking for the ‘suggested’ system
Anyway, you can create a custom command in chat that does what you want, I think, if I understand your request:
addcom suggest Writing quote to file for review (writefile suggest.txt, true, (echo))
[01-03-2018 @ 14:03:37.347 MST] [MUTED] @IllusionaryBot, Command !suggest has been created!
suggest This quote.
[01-03-2018 @ 14:03:41.254 MST] [MUTED] Writing quote to file for review
suggest That quote.
[01-03-2018 @ 14:03:43.144 MST] [MUTED] Writing quote to file for review
illusion% cat suggest.txt
The command says “write to the suggest.txt file in the addons folder (directory) and keep appending (true) data from the parameters in chat (echo).”
I would make a copy of the file and wipe out the file, just in case the bot is writing to it while you are working in it. I assume you would want to remove older quotes once you have approved and added manually back into the bot via !addquote.
SIDE NOTE: If you want to log who put in the quote:
addcom suggest Writing quote to file for review (writefile suggest.txt, true, (sender): (echo))
Example lines in file:
IllusionaryBot: this quote is neat
IllusionaryBot: that quote is neat
(Note that I am running from the Console, so the (sender) is the bot account.)