DB-Script
Discord Server
NPM
Search…
DB-Script
Getting Started
NPM Updates
Known Bugs
Functionalities
Bot Functions
Events
Functions
Action
Compacts
$channel
$client
$cmd
$emoji
$getFromEmbed
$guild
$hostBattery
$hostCPU
$hostDisk
$hostOS
$hostRAM
$member
$msg
$role
$user
$userStatus
$voice
$voiceInfo
$webhook
Conditions
Data
Embeds
Limiters
Music
Variables
Guides
Other
Contributors
Discord Server
FAQs
Staff
Powered By
GitBook
$hostRAM
A Compact Function resolving data about your hosts RAM data with 10 options to choose from. Data is returned in bytes!
FUNCTION USAGE
$hostRAM[option]
Properties:
option
- The data option.
​
OPTIONS:
Option
Description
clockspeed
How fast (MHz) your RAM card(s) are calculating.
free
Amount of free RAM.
freeswap
Amount of free Swap RAM.
manufacturer
Company that made the RAM card(s).
total
Amount of total RAM.
totalswap
Amount of total Swap RAM.
used
Amount of RAM being used.
usedswap
Amount of Swap RAM being used.
voltmax
Maximum voltage allowed by your host/pc.
voltmin
Minimum voltage allowed by your host/pc.
​
Example 1: Returns how fast your RAM is being calculated.
bot.Command({
name: "test",
code: `
$hostRAM[clockspeed]
`
})
Example 2: Returns the amount of swap ram being used.
bot.Command({
name: "test",
code: `
$hostRAM[usedswap]
`
})
Previous
$hostOS
Next
$member
Last modified
11mo ago
Copy link
Outline
Properties:
OPTIONS: