Upgrading widgetbot to emerald

This commit is contained in:
Christian 'ketura' McCarty
2023-08-03 22:58:25 -05:00
parent 3455cb47f6
commit 07da9cd4ae

View File

@@ -259,7 +259,7 @@ var ChatBoxUI = Class.extend({
if(this.chatEmbed == null)
{
this.discordDiv.show();
this.chatEmbed = $("<widgetbot server='699957633121255515' channel='873065954609881140' width='100%' height='100%' username='" + this.userName + "'></widgetbot>");
this.chatEmbed = $("<widgetbot server='699957633121255515' channel='873065954609881140' width='100%' height='100%' shard='https://emerald.widgetbot.io' username='" + this.userName + "'></widgetbot>");
var script = $("<script src='https://cdn.jsdelivr.net/npm/@widgetbot/html-embed'></script>");
this.discordDiv.append(script);
this.discordDiv.append(this.chatEmbed);