Skip to content
Meta ram

$ram — Returns the current ram usage in MB

Memory used by the bot's own process, in MB (never the memory of the machine hosting it).

Syntax

$ram

Parameters

None.

Return Value

  • Number.

Usage

$ram → result

Example

$sendMessage[$ram]

Notes

  • Only the bot’s own process is described. Total memory, processor model, load, network addresses and host names of the machine are never given, because several bots can share a machine.

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.