-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy pathbuilder.config.js
47 lines (40 loc) · 1.29 KB
/
builder.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/**
* This script file will (or atleast should) run before the main script file runs.
* This file should contain stuff like options, global variables (etc.) to be used by the main script.
*/
// Options
// URL options can override the options below.
// Options set through the menu can override both until the page is refreshed.
options = {
username: 'Discord Bot',
avatar: 'https://cdn.discordapp.com/embed/avatars/1.png',
verified: false,
noUser: false,
data: null,
guiTabs: ['author', 'description'],
useJsonEditor: false,
reverseColumns: false,
allowPlaceholders: false,
autoUpdateURL: false,
autoParams: false,
hideEditor: false,
hidePreview: false,
hideMenu: false,
single: false,
noMultiEmbedsOption: false,
sourceOption: false, // Display link to source code in menu.
}
// Default JSON object
// json = {
// content: "Hello world",
// embed: {
// title: "A title",
// description: "A description",
// }
// }
// Write any code under the 'DOMContentLoaded' event to run after the page has loaded.
addEventListener('DOMContentLoaded', () => {
// console.log('Hello 👋');
// Remove the colour picker
// document.querySelector('.colors').remove()
})