NightDev Community Forums

[CustomAPI] Quote system


Is there a way to edit the way the quote is structured?

I’d love to have it where you can write !addquote (user) (message)
so that it responds on the !quote command with #x (“message in quotations”) - (user) instead of x. (message)?

It just looks nicer to me and I didn’t want to get a second bot for the same function just so it looks the way I wanted it to.

Thanks for taking the time to read this!



Change your responses for !addquote and !quote as follows:

For !addquote: $(urlfetch$(querystring) - $(user))
For !quote: #$(urlfetch


It doesn’t quite work right for my purposes, as it puts the user who added the command after the - essentially attributing the quote to them. What I’d hoped for was so that the first word after the !addquote command would be treated as the user who said it.

For example !addquote FunnyUser This is funny turning into #1 “This is funny” - FunnyUser. Instead, I get #1. FunnyUser This is funny - NomNomFighter.

Since only Mods can add quotes on my channel, a lot of quotes would be attributed to the wrong Users. Is there a way to change that?



If the usage for !addquote is:

!addquote [person who said quote] [quote]

Then adjust the response for !addquote like so:

$(urlfetch$(eval a=decodeURIComponent(`$(querystring)`).split(` `);b=a.shift();a.join(` `)+` `+b))


@RokettoJanpu Okay, that works! Is there a way to always put the message into quotes and setting a - infront of the username? Then it would be perfect!

Thank you so much already!



This should do the trick. Change !addquote to:

$(urlfetch$(eval a=decodeURIComponent(`$(querystring)`).split(` `);b=a.shift();`"`+a.join(` `).replace(/"/g,``)+`" - `+b))


@RokettoJanpu THANK YOU SO MUCH! This is exactly what I wanted!


Hi guys, I’m a moderator for a few channels and I wanted to utilize the quote system but as a clip system. With that said, when i add the clip it says something went wrong, we couldnt find the clip. Am i doing something wrong? the commands work, I can add, del and call. However it shows that message.


Hey I am currently adding this to a channel I mod, I was wondering are you able to see the full list of quotes?



This is the link you can use to view the list in your browser:

Replace PUBLIC_TOKEN with your public token (8 characters long)

Otherwise you can view the list in a command response with this:

$(eval `$(urlfetch json`.slice(0,400))


Thank you kind person @RokettoJanpu




use =importdata("…")


Is there anyway to get this to work in youtube gaming live chat?


Hi I am having the following issue:
Dirty1ou: !quote
Nightbot: Remote Server Returned Code 503

I have added approx. 15 or so quotes and wanted to test it out and am now getting this message 503. The 503 is being given for !quote and !quote list !delquote !addquote


Having the same issue this morning as well. Perhaps just an error with the server?


It is indeed on my end, looking into it.



after being able to make the command output result to my liking I found out the delete command does not actually clear them neither does the version with clear=1, the channel name is bloodyhs



Are you sure you set up the command response for your delete command correctly? It should look like this:


PRIVATE_TOKEN is replaced with your private token, which should be some jumble of letters and numbers that is 16 characters long.


Anyone else getting an error 500 when trying to add a new quote?