- Download the
api.js
andexternalLoader.js
files - Drop the
api.js
file into theutil
folder - Simply replace your
externalLoader.js
with the one you downloaded (If you don't have one make sure you get the most updated version of the Ban DB from https://hyperz.dev) - Start the bot as usual and enjoy the API
- /stats - Shows the basic stats of the bot (https://stats.trollguard.xyz/)
- /case-CASEID - Shows the information of the case id provided (https://api.trollguard.xyz/case-1)
- /staff-USERID - Shows if the user is an active staff member in the bots database (https://api.trollguard.xyz/staff-353020749126041602)
- /bans-USERID - Shows if the user is banned and the ban details (https://api.trollguard.xyz/bans-850864188174762014)
- /guilds-GUILDID - Shows the basic information of the guild (https://api.trollguard.xyz/guilds-704379982012743721)