FakeNitro: Fix stickers with space in name #819 (#820)

This commit is contained in:
Đỗ Văn Hoài Tuân 2023-04-07 12:15:11 -07:00 committed by GitHub
parent 2a0c30b66d
commit 8fefa2b716
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,7 +147,7 @@ migratePluginSettings("FakeNitro", "NitroBypass");
export default definePlugin({
name: "FakeNitro",
authors: [Devs.Arjix, Devs.D3SOX, Devs.Ven, Devs.obscurity, Devs.captain, Devs.Nuckyz],
authors: [Devs.Arjix, Devs.D3SOX, Devs.Ven, Devs.obscurity, Devs.captain, Devs.Nuckyz, Devs.AutumnVN],
description: "Allows you to stream in nitro quality, send fake emojis/stickers and use client themes.",
dependencies: ["MessageEventsAPI"],
@ -679,7 +679,7 @@ export default definePlugin({
}
delete extra.stickerIds;
messageObj.content += " " + link + `&name=${sticker.name}`;
messageObj.content += " " + link + `&name=${encodeURIComponent(sticker.name)}`;
}
}