Package net.dv8tion.jda.api.events.guild
Class GuildReadyEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.guild.GenericGuildEvent
-
- net.dv8tion.jda.api.events.guild.GuildReadyEvent
-
- All Implemented Interfaces:
GenericEvent
public class GuildReadyEvent extends GenericGuildEvent
Indicates that aGuild
finished setting up
This event is fired if a guild finished setting up during login phase. After this event is fired, JDA will start dispatching events related to this guild. This indicates a guild was created and added to the cache. It will be fired for both the initial setup and full reconnects (indicated byReconnectedEvent
).Can be used to initialize any services that depend on this guild.
-
-
Constructor Summary
Constructors Constructor Description GuildReadyEvent(JDA api, long responseNumber, Guild guild)
-
Method Summary
-
Methods inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEvent
getGuild
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-