Class ThreadRevealedEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.thread.GenericThreadEvent
-
- net.dv8tion.jda.api.events.thread.ThreadRevealedEvent
-
- All Implemented Interfaces:
GenericEvent
public class ThreadRevealedEvent extends GenericThreadEvent
This event is dispatched when aThreadChannel
that JDA didn't previously have access to (due to permissions) is now visible. For example, if the bot is given thenet.dv8tion.jda.api.Permission.ADMINISTRATOR
permission, any thread channels that the bot could not previously see would be "revealed".- See Also:
ThreadHiddenEvent
-
-
Constructor Summary
Constructors Constructor Description ThreadRevealedEvent(JDA api, long responseNumber, ThreadChannel thread)
-
Method Summary
-
Methods inherited from class net.dv8tion.jda.api.events.thread.GenericThreadEvent
getGuild, getThread
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
ThreadRevealedEvent
public ThreadRevealedEvent(@Nonnull JDA api, long responseNumber, ThreadChannel thread)
-
-