Spoiler API Events

Kommentarer

14 kommentarer

  • r00ster

    Please do this! This would open up so many possiblities!

    13
    Kommentarsåtgärder Permanent länk
  • FRNathan13

    We need this! This is a best feature implemented in discord.

    5
    Kommentarsåtgärder Permanent länk
  • Nenri 「念力气度」

    Please ! we could make interactive text with this, spoiler text acting like buttons, that would be the BEST thing in discord. We could make text games out of it !

    8
    Kommentarsåtgärder Permanent länk
  • FRNathan13

    Yes!

    3
    Kommentarsåtgärder Permanent länk
  • Brian

    Yes, especially because gifs (or any image does not show up) do not play in spoilers that would be great.

    3
    Kommentarsåtgärder Permanent länk
  • Nenri 「念力气度」

    To add precisions on how to make it the best : the spoiler object sent by the api would have as items the message from where it is, the position / index of the spoiler in the message (if there's several spoilers in it), the user who revealed it (can be called "revealer") and the content in it (this is optionnal as it would be in message anyway) 

    2
    Kommentarsåtgärder Permanent länk
  • FRNathan13

    Two events in gateway:

     

    SPOILER_DISPLAYED when a spoiler has become visible.

    SPOILER_HIDDEN when a spoiler has become hidden.

    0
    Kommentarsåtgärder Permanent länk
  • Nenri 「念力气度」

    FRNathan13 : we can't hide spoilers

    0
    Kommentarsåtgärder Permanent länk
  • FRNathan13

    I known but developers can implement a way to hide spoilers. Like: https://support.discordapp.com/hc/en-us/community/posts/360039389532

    0
    Kommentarsåtgärder Permanent länk
  • 0
    Kommentarsåtgärder Permanent länk
  • Xx_SuPeRsLaYeR_xX

    but what does this mean

    0
    Kommentarsåtgärder Permanent länk
  • •MGC•Mr_ChAI

    Try to click a spoiler, then go to different channel, then return back - the spoiler will be unclicked. So Discord doesn't know if you click spoiler

    0
    Kommentarsåtgärder Permanent länk
  • Ben.

    Yoo that would be so cool

    0
    Kommentarsåtgärder Permanent länk
  • username
    I think that due to spoilers being client-side, a more practical option would be buttons.
    1
    Kommentarsåtgärder Permanent länk

Du måste logga in om du vill lämna en kommentar.