embedbuilder/builder.config.js
Jonny_Bro (Nikita) 94ab4f61b0 first commit
2023-06-27 11:40:07 +05:00

47 lines
No EOL
1.2 KiB
JavaScript

/**
* 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()
})