Functionalities
Other
$memory
Returns the total amount of memory (ram) your bot is using in all guilds or in one specific guild.

FUNCTION USAGE

  • $memory
  • $memory[]
  • $memory[guildID]

Properties:

[] - Leave brackets empty to return the RAM usage of the guild the command is executed is. guildID - The ID of the guild to return the RAM usage from.
Example 1: Returns the total amount of RAM your bot is using for all guilds it's in.
1
bot.Command({
2
name: "ram",
3
code: `
4
Hi!, i'm using a total of $memorymb of RAM right now!
5
`
6
})
Copied!
Example 2: Returns the amount of RAM one specific guild is using.
1
bot.Command({
2
name: "ram",
3
code: `
4
Hi!, DB-Script Official Server is using a total of $memory[$guildID[DB-Script Official Server]]mb of RAM right now!
5
`
6
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: