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
This event is dispatched when a
ThreadChannel
that JDA didn't previously have access to (due to permissions) is now visible.
For example, if the bot is given the Permission.ADMINISTRATOR
permission, any thread channels that the bot could not previously see would be "revealed".
This event is also used when the bot is added to a private
thread channel, revealing it through membership.
- See Also:
-
Constructor Summary
-
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, getRawData, getResponseNumber, toString
-
Constructor Details
-
ThreadRevealedEvent
-