Sorry, we don't support your browser.  Install a modern browser

different option for {user_item} to be displayed in embeds#560

I am making this suggestion because shop item have become a way of making more complex games, all within Mimu. (sorry if i don’t make sense c:)

An option for an inventory item to be displayed in an embed if the user has at least one of the respective item(s), without displaying the quantity. This is more of a workaround for if-else statements to execute certain actions using urls or code, rather than displaying the quantity of the item a user has.

For example,

  • if the user has one ‘apple’ item, it will be displayed as ‘apple’ in the embed. If they don’t have the item, it won’t be displayed at all.
  • if the user has one ‘63ec7a9330d’ item, it will be displayed as ‘63ec7a9330d’. We could use the {user_item} variable in the thumbnail or image section of an embed, and it would display the image attached to the ‘63ec7a9330d’ trigger.
    • cdn.discord/image.png/{user_item} -> cdn.discord/image.png/63ec7a9330d
    • if the user has one ‘kuromi’ item, it will be displayed as ‘kuromi’. cdn.discord/image.png/{user_item} -> cdn.discord/image.png/kuromi
      there u go you got a custom pet system brotha.
2 months ago