MediaWiki:Common.js: Difference between revisions
mNo edit summary Tag: Manual revert |
mNo edit summary |
||
| Line 50: | Line 50: | ||
} | } | ||
} | } | ||
}); | |||
$(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-💬 | |||
}); | |||
}); | |||
}); | }); | ||