fix: emojis with duplicate names failing to clone (#449)
This commit is contained in:
parent
75050e74ca
commit
83757b19be
@ -57,7 +57,7 @@ async function doClone(guildId: string, id: string, name: string, isAnimated: bo
|
|||||||
reader.onload = () => {
|
reader.onload = () => {
|
||||||
uploadEmoji({
|
uploadEmoji({
|
||||||
guildId,
|
guildId,
|
||||||
name,
|
name: name.split("~")[0],
|
||||||
image: reader.result
|
image: reader.result
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
Toasts.show({
|
Toasts.show({
|
||||||
|
Loading…
Reference in New Issue
Block a user