Class GuildUser


  • public class GuildUser
    extends java.lang.Object
    An extension of the User object which includes Guild-Specific details
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getGuildId()  
      java.lang.String getJoinedAt()  
      java.lang.String getNick()  
      java.lang.String[] getRoles()  
      User getUser()  
      boolean isDeaf()  
      boolean isMute()  
      void moveVoice​(@NotNull java.lang.String channelId, @NotNull Bot bot)
      Moves the user to a different voice channel, as long as they are in one already.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 to
        bot - The bot to perform the action as