!addquote Command with Date Added?

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 :slight_smile:

  • Auto

Hey @autonomiic!

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 @Emily ! 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!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.