Skip to content
Meta os

$os — Returns the operating system name

Operating system of the bot's process (linux, windows, android, macos...).

Syntax

$os

Parameters

None.

Return Value

  • String.

Usage

$os → result

Example

$sendMessage[$os]

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.