This is where your custom functions are stored
Utilities oriented to a Discord Client
Get the entire list of users of a bot
Discord Client, see: Discord.js Client
number
Gets a member from a server, otherwise will return to the author if desired or null
string
boolean
Promise<GuildMember | null>
Checks if the provided id was banned from the given Guild
User ID
boolean
Check if the given user has voted for a bot on the top.gg page.
Your discord bot's id
ID of the user
Your top.gg token, to get it see authentication
Promise
Utilities oriented to falsify data
Generate a fake IPv4
Fake id, like: 123.234.243.223
Generate a fake IPv6
Fake id, like: 2001:8a2d:6c3c:6391:18f1:e073:73dd:a025
Utilities oriented to fetch certain apis
Exactly the same as the JavaScript fetch function, see MDN Docs
Promise
URL to fetch
Optional
init: RequestInitSee Request Options
Obtains information from a minecraft server based on its ip. API: MineTools - API
IP to fetch
Promise
Gets a random post with tags to choose from the Rule34 api.
[WARNING] This function returns and contains mostly explicit content, the use of this function is under your own responsibility.
Optional
tags: string[]Tags to search. Example: ["video"]
Promise
Gets a random image of Rei Plush
Gets a random meme of Shot-On-iPhone
Promise
Utilities oriented to obtain random values
Get a random string of your choice
Length of the string
RandomString
string
Runtime performance-oriented utilities
Get run time in milliseconds
number
Gets the ram memory usage in: Bytes (B), KiloBytes (KB), MegaBytes (MB), or GigaBytes (GB); this is rounded to the decimal places you want.
Number of decimals, by default 2
Format to display RAM consumption, by default KiloBytes (KB)
string
Evals a code in TypeScript (Compatible with JavaScript) Note: At the end of the code you should put a "return" to mark what will be returned.
Code to eval
Promise
Execute a console command
Command to execute
Promise
Utilities oriented to check whether a data is what is needed