Class GuildUser
- java.lang.Object
-
- com.rodiconmc.rodicord.objects.guild.GuildUser
-
public class GuildUser extends java.lang.ObjectAn extension of theUserobject which includes Guild-Specific details
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetGuildId()java.lang.StringgetJoinedAt()java.lang.StringgetNick()java.lang.String[]getRoles()UsergetUser()booleanisDeaf()booleanisMute()voidmoveVoice(@NotNull java.lang.String channelId, @NotNull Bot bot)Moves the user to a different voice channel, as long as they are in one already.
-
-
-
Method Detail
-
getUser
public User getUser()
-
getNick
public java.lang.String getNick()
-
getRoles
public java.lang.String[] getRoles()
-
getJoinedAt
public java.lang.String getJoinedAt()
-
isDeaf
public boolean isDeaf()
-
isMute
public boolean isMute()
-
getGuildId
public java.lang.String getGuildId()
-
moveVoice
public void moveVoice(@NotNull @NotNull java.lang.String channelId, @NotNull @NotNull Bot bot)Moves the user to a different voice channel, as long as they are in one already.- Parameters:
channelId- The Snowflake id of the channel to move them tobot- The bot to perform the action as
-
-