forked from DistroByte/AwF-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
fifo handler
oof2win2 edited this page May 3, 2021
·
1 revision
FIFO handler for Factorio servers
Kind: global class
Check if the logging for the development server should be turned off. The presence given already needs to be checked for the correct user ID
Kind: instance method of ServerFifoManager
| Param | Type |
|---|---|
| newPresence | Presence |
Sends a message to a Factorio server which has the same channel ID as the message
Kind: instance method of ServerFifoManager
| Param | Type | Default | Description |
|---|---|---|---|
| message | Message |
Discord message to send to server | |
| [sendWithUsername] | boolean |
true |
Whether to send the message with username or not. |
Sends a message to all Factorio servers
Kind: instance method of ServerFifoManager
| Param | Type | Default | Description |
|---|---|---|---|
| message | Message |
Discord message to send to server | |
| [sendWithUsername] | boolean |
true |
Whether to send the message with username or not. |