!addquote Command with Date Added?

Asked Jun 7, 2021·3 replies·Last activity 5 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Hi all,

I'm looking to edit my !addquote command so that, when recalled with !quote, it displays the date (minus the time) that the quote was added. I absolutely cannot find anything on this ANYWHERE.

Thanks in advance 🙂

  • Auto

3 replies

Hey @Brave Flamingo!

Add the following after &data=: $(querystring) [$(time TIMEZONE "MM/DD/YYYY")]

Replace TIMEZONE with yours, you can find the list of timezones Nightbot supports, and how to write them here, this is also the page of the documentation you could have used to figure it out.

Thanks for your reply @Polar Cat ! It works about how I want it to, however when I "!quote1" to retrieve the quote in my chat, which was "lol", I get this:

1. lol [06/08/2021]lol

It won't let me share the command message because it thinks it is a link??

Nevermind, I just had to remove one of the query strings! Thank you again!