Error: no title or text specified. Embeds a customizable Discord widget on the page. Useful for the main page which has a traditional column design, this script was originally created on the Fandom Developers Wiki by KockaAdmiralac under the CC-BY-SA 3.0 License.
Parameters
Option | Type | What it changes | Default |
---|---|---|---|
id
|
String | ID of the server. For more information on how to find Discord server ID, see "Enabling the widget" section in the documentation This parameter is required for the widget to work |
N/A |
loggedIn
|
Boolean | If set to true, widget will only work for logged in users | N/A |
theme
|
String | Theme of the widget. Can be set to either light or dark . If invalid option specified the default is used
|
dark
|
width
|
String | Width of the widget. | 100%
|
height
|
String | Height of the widget. | 90%
|
usePTB
|
Anything | If to use the widget from Public Test Build server instead of the normal one | N/A |