Class Guild
- java.lang.Object
-
- com.rodiconmc.rodicord.objects.guild.PartialGuild
-
- com.rodiconmc.rodicord.objects.guild.Guild
-
public class Guild extends PartialGuild
Represents a Discord Guild. Guilds in Discord represent an isolated collection of users and channels, and are often referred to as "servers" in the UI.- See Also:
- Discord Guild Resource
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAfk_channel_id()intgetAfk_timeout()java.lang.StringgetApplication_id()intgetDefault_message_notifications()java.lang.StringgetEmbed_channel_id()intgetExplicit_content_filter()GuildUsergetGuildUser(@NotNull java.lang.String id, @NotNull Bot bot)Returns aGuildUserobject for the specified user id.intgetMfa_level()java.lang.StringgetOwner_id()java.lang.StringgetRegion()Role[]getRoles()java.lang.StringgetSplash()intgetVerification_level()booleanisEmbed_enabled()-
Methods inherited from class com.rodiconmc.rodicord.objects.guild.PartialGuild
createChannel, createChannel, getFull, getIcon, getId, getName, getPermissions, isOwner
-
-
-
-
Method Detail
-
getSplash
public java.lang.String getSplash()
-
getOwner_id
public java.lang.String getOwner_id()
-
getRegion
public java.lang.String getRegion()
-
getAfk_channel_id
public java.lang.String getAfk_channel_id()
-
getAfk_timeout
public int getAfk_timeout()
-
isEmbed_enabled
public boolean isEmbed_enabled()
-
getEmbed_channel_id
public java.lang.String getEmbed_channel_id()
-
getVerification_level
public int getVerification_level()
-
getDefault_message_notifications
public int getDefault_message_notifications()
-
getExplicit_content_filter
public int getExplicit_content_filter()
-
getRoles
public Role[] getRoles()
-
getMfa_level
public int getMfa_level()
-
getApplication_id
public java.lang.String getApplication_id()
-
getGuildUser
public GuildUser getGuildUser(@NotNull @NotNull java.lang.String id, @NotNull @NotNull Bot bot)
Returns aGuildUserobject for the specified user id.- Parameters:
id- Snowflake id of the userbot- Bot to get the user as- Returns:
- The GuildUser
- See Also:
- Discord Get Guild Member
-
-