MediaWiki:Common.js: Difference between revisions
m Another try to fix Tag: Reverted |
m Fix Tag: Reverted |
||
| Line 51: | Line 51: | ||
// WidgetBot: Discord Crate widget | // WidgetBot: Discord Crate widget | ||
$.getScript('https://cdn.jsdelivr.net/npm/@widgetbot/crate@3', function () { | $(document).ready(function() { | ||
// Dynamically load the external script | |||
$.getScript('https://cdn.jsdelivr.net/npm/@widgetbot/crate@3', function() { | |||
// Once the script is loaded, initialize the Crate widget | |||
new Crate({ | |||
server: '1163030464903258122', // The 'Good Creations!' Minecraft Server | |||
channel: '1163030468111908986', // #general-💬 | |||
allChannelNotifications: true, | |||
color: 'black' | |||
}); | |||
}); | }); | ||
}); | }); | ||