#emoteSet addEmote mutation response returns the id, name of the emote set instead of the emote gpl4

1 messages · Page 1 of 1 (latest)

heady rune
#

using:
mutation EmoteSets {
emoteSets {
emoteSet(id: "emoteSetId") {
addEmote(id: { emoteId: "emoteId" }) {
id
name
}
}
}
}

returns the id and name of the emoteSet rather than the emote added using addEmote even though the id and name fields are within addEmote.

i am interested in just the emote name when adding with just an id provided but i do not know how to get the name in the response instead of the listener

reef lava
#

I think the only way to get it, is by using this mutation, and getting the last item with the same id

  emoteSets {
    emoteSet(id: "") {
      addEmote(id: {emoteId: ""}) {
        emotes {
          items {
            alias
            id
          }
        }
      }
    }
  }
}```
heady rune
#

i saw that earlier it just seems excessive to do when youre adding to a channel thats almost maxed on emotes