Hey @frostylosty1!
I’m not sure I understand, do you mean you have written a custom API on your computer and you want Nightbot to use that code?
In that case, the only option is to host the code yourself, and call it via an API URL with $(urlfetch)
as Nightbot itself won’t store the data, you’ll need your own server for that.
If the code depends on an already existing API, say the Quote API, then you can host your code on a paste at Pastebin, and call it with $(urlfetch)
.
It’s difficult to assist you without seeing your code, or at least an explanation of how exactly you wrote it.