Server
modifyWelcomeScreen
$modifyWelcomeScreen
Changes the welcome screen of a community server. Bot Creator function, not in the official BDFD wiki.
Syntax
$modifyWelcomeScreen[(guildID);(description);(enabled);(channelsJSON);(reason)]
Parameters
| Parameter | Description |
|---|---|
guildID |
Optional. The ID of the server. Empty or absent: the current server. |
description |
Optional. The text shown at the top. |
enabled |
Optional. yes or no. |
channelsJSON |
Optional. A JSON list of up to 5 channels: [{"channel_id":"123","description":"Chat","emoji_name":"👋"}]. |
reason |
Optional. Reason recorded in the server audit log (512 characters at most). |
Return Value
truewhen something was changed.
Example
$modifyWelcomeScreen[;Welcome!;yes]
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.