Random Stuff Api Wrapper
DEBUG MODE IS BROKEN. KEEP IT ON FALSEEEEEEEE
Set-Up
Installing library:
Set-Up client:
In the client there are multiple options, key
define your key, server
server you want data from main/backup, plan
what plan you are, debug
if set to false (defaults to True) it will ignore all errors and send a random backup message (more on that below).
Backup Messages:
Backup messages will ignore errors and send a random message from a list.
If you set debug
to true in the client then it will normally give errors so you can fix your bug.
Response Type:
the res_type
is how you want your response, if set to json
(or anything else but text) it will return all the response data witch looks like this: {response: "The response", server: "main/backup", uid: 69}
for AI. If set to text
it will index it and return just the response message (or joke)
Error's:
UNDER CONSTRUCTION... ERRORS ARE REALLY BROKEN RIGHT NOW
Last updated