[CustomAPI] Quote system


Copy down the private token from your !addquote command (16 characters long). Then go to this URL:


Replace PRIVATE_TOKEN with your private token. This will bring you to a page where you can recreate your !quote command.

Hello! I would like to make it possible to use the command like this: “!quote [Name of a person]”. I need this in order to get something like this: "[Name of the writer] shoots at [Name of the person] [random message]. Please tell me, is it possible to do it? Since I always have “0 message” in this situation and not a random message. Thanks in advance, and sorry for my bad english.


Use the following command response. Replace PUBLIC_TOKEN with your quote list public token (8 characters long).

$(user) shoots at $(touser) $(urlfetch https://twitch.center/customapi/quote?token=PUBLIC_TOKEN&no_id=1)

Thank you very much, you are the best! :3

Hi, my friend accidentally editted his !quote command and has lost his Quote token (To receive and display the quotes) is there anyway to get the token back. Whenever he clicks on the “https://twitch.center/customapi/quote/nightbot” link it says “500 internal server error”


Your friend can enter this link in their browser in order to recreate their !quote command. Replace PRIVATE_TOKEN with their quote list private token (16 characters long, can be found inside the !addquote command):


Hi ehsankia, I was wondering if you would be able to help me make a few changes to the quote system. Example, when I add a new quote I want it to automatically say something before the quote. @ehsankia


This is easy to do.

$(urlfetch https://twitch.center/customapi/addquote?token=PRIVATE_TOKEN&data=EXTRA_TEXT $(querystring))

Replace PRIVATE_TOKEN with your private token (16 characters long) and EXTRA_TEXT with whatever text you want to add in front of the quote you’re adding.

How do I find my private token and is that the new URL I’m going to use for !addquote. Also will the text I put there show up in front of every quote? @RokettoJanpu

The private token can be found in either your already existing !addquote or !delquote commands. Yes, the text will be put in front of every quote you add, and it will show up whenever the !quote command pulls that quote.

@RokettoJanpu ok thanks. I have a few more questions but I’ll get back to you with those in a bit

it isn’t working @RokettoJanpu

edit: i think i figured out what i did wrong, ill get back to you.

i got it to work, i just have a few more questions.

I don’t know if this is possible but is there a way that I can make it so the text before the quote is like: TEXT quote number TEXT “quote”?.

Also is there a way that I can make it so it doesn’t say Successfully added entry #3 when i add a quote? Is there a way that I can have custom text when a quote is added? Also the same for deleting a quote.


You can make !addquote say something else. Replace PRIVATE_TOKEN with your private token (16 characters long) and TEXT with your text.

$(eval `$(urlfetch https://twitch.center/customapi/addquote?token=PRIVATE_TOKEN&data=TEXT $(querystring))`;`some custom response...`)

This is to make !quote put TEXT in front of the quote. Replace TEXT with your text and PUBLIC_TOKEN with your public token (8 characters long).

TEXT $(urlfetch https://twitch.center/customapi/quote/list?token=PUBLIC_TOKEN)

what is the difference between the 2? when i add text to !addquote it shows the text in front of the quote when I do !quote.

So there is no way i can have text in front of the quote number?

You can put text in front of the quote number. Literally just put the text in front of the $(urlfetch) in the command response for !quote

But if you put text inside the quote, it will show up BEHIND the quote number. The quote number always appears in front of the actual quote.

Oh ok thank you so much.

ok that all works how i wanted it to. So I am assuming that there is no way to change the text that says Successfully added entry and Successfully deleted entry. If there isn’t it is not a big deal.


You should edit !addquote to the following to block the “successfully added” response:

$(eval `$(urlfetch https://twitch.center/customapi/addquote?token=PRIVATE_TOKEN&data=TEXT $(querystring))`;`some custom response...`)

And edit !delquote to the following to block the “successfully deleted” response:

$(eval `$(urlfetch https://twitch.center/customapi/delquote?token=PRIVATE_TOKEN&data=$(querystring))`;`some custom response...`)

Also how do I make this into a timer