Fix /emote in groups
This commit is contained in:
parent
6ad786f348
commit
5827f9638f
|
@ -737,7 +737,8 @@ async function setSpriteSlashCommand(_, spriteId) {
|
|||
|
||||
spriteId = spriteId.trim().toLowerCase();
|
||||
|
||||
const spriteFolderName = getSpriteFolderName();
|
||||
const currentLastMessage = getLastCharacterMessage();
|
||||
const spriteFolderName = getSpriteFolderName(currentLastMessage, currentLastMessage.name);
|
||||
await validateImages(spriteFolderName);
|
||||
|
||||
// Fuzzy search for sprite
|
||||
|
|
Loading…
Reference in New Issue