Interface JdaUser
- All Known Subinterfaces:
AudioUser
,GuildUser
,UserAnalytics
- All Known Implementing Classes:
AudioUserImpl
,GuildUserImpl
,JdaUserImpl
public interface JdaUser
User object for the api, very similar to
User
, but adapted to fit this project's API-
Method Summary
Modifier and TypeMethodDescriptiongetAudioUser
(net.dv8tion.jda.api.entities.Guild guild) List<net.dv8tion.jda.api.entities.Guild>
getGuildUser
(net.dv8tion.jda.api.entities.Guild guild) net.dv8tion.jda.api.entities.User
getUser()
-
Method Details
-
getGuilds
List<net.dv8tion.jda.api.entities.Guild> getGuilds()- Returns:
- guilds that the user is a member of
-
getAudioUser
- Parameters:
guild
- to get data from- Returns:
- instance of an AudioUser from the given guild
-
getGuildUser
- Parameters:
guild
- to get data from- Returns:
- instance of a GuildUser from the given guild
-
getUser
net.dv8tion.jda.api.entities.User getUser()- Returns:
- JDA User object that correlates with this project's adaptation
-