forked from DistroByte/AwF-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
serverUPSHandler
oof2win2 edited this page May 3, 2021
·
1 revision
- _UPSHandler
-
UPS handler, generates data that can be fetched. Doesn't historically store it
-
UPS :
Object
UPS handler, generates data that can be fetched. Doesn't historically store it
Kind: global class
Param | Type | Description |
---|---|---|
servers | Array.<Object> |
Array of servers from servers.js |
_UPSHandler.exportData() ⇒ Array.<UPS>
Get current data for handling
Kind: instance method of _UPSHandler
Returns: Array.<UPS>
- - Collected data
Kind: global typedef
Properties
Name | Type | Description |
---|---|---|
discordid | discord.Snowflake |
Server's Discord channel ID |
discordname | String |
Server's Discord channel name |
ups | Number |
Server's last measured UPS |
previousTick | Number |
Server's last measured gametick |
playercount | Number |
Number of players on the server |