Uses of Interface
org.javacord.api.entity.server.Server
-
-
Uses of Server in org.javacord.api
Methods in org.javacord.api that return types with arguments of type Server Modifier and Type Method Description default Optional<Server>DiscordApi. getServerById(long id)Gets a server by its id.default Optional<Server>DiscordApi. getServerById(String id)Gets a server by its id.Collection<Server>DiscordApi. getServers()Gets a collection with all servers the bot is in.default Collection<Server>DiscordApi. getServersByName(String name)Gets a collection with all servers with the given name.default Collection<Server>DiscordApi. getServersByNameIgnoreCase(String name)Gets a collection with all servers with the given name.Methods in org.javacord.api with parameters of type Server Modifier and Type Method Description default Collection<User>DiscordApi. getCachedUsersByDisplayName(String displayName, Server server)Gets a collection with all users with the given display name on the given server.default Collection<User>DiscordApi. getCachedUsersByDisplayNameIgnoreCase(String displayName, Server server)Gets a collection with all users with the given display name on the given server.default Collection<User>DiscordApi. getCachedUsersByNickname(String nickname, Server server)Gets a collection with all users with the given nickname on the given server.default Collection<User>DiscordApi. getCachedUsersByNicknameIgnoreCase(String nickname, Server server)Gets a collection with all users with the given nickname on the given server. -
Uses of Server in org.javacord.api.entity.auditlog
Methods in org.javacord.api.entity.auditlog that return Server Modifier and Type Method Description ServerAuditLog. getServer()Gets the server of the audit log.Methods in org.javacord.api.entity.auditlog that return types with arguments of type Server Modifier and Type Method Description default Optional<Server>AuditLogEntryTarget. asServer()Gets the target as server. -
Uses of Server in org.javacord.api.entity.channel
Methods in org.javacord.api.entity.channel that return Server Modifier and Type Method Description ServerServerChannel. getServer()Gets the server of the channel.Constructors in org.javacord.api.entity.channel with parameters of type Server Constructor Description ChannelCategoryBuilder(Server server)Creates a new channel category builder.ServerTextChannelBuilder(Server server)Creates a new server text channel builder.ServerVoiceChannelBuilder(Server server)Creates a new server text channel builder. -
Uses of Server in org.javacord.api.entity.emoji
Methods in org.javacord.api.entity.emoji that return Server Modifier and Type Method Description ServerKnownCustomEmoji. getServer()Gets the server of the emoji.Constructors in org.javacord.api.entity.emoji with parameters of type Server Constructor Description CustomEmojiBuilder(Server server)Creates a new custom emoji builder. -
Uses of Server in org.javacord.api.entity.message
Methods in org.javacord.api.entity.message that return types with arguments of type Server Modifier and Type Method Description default Optional<Server>Message. getServer()Gets the server of the message. -
Uses of Server in org.javacord.api.entity.permission
Methods in org.javacord.api.entity.permission that return Server Modifier and Type Method Description ServerRole. getServer()Gets the server of the role.Constructors in org.javacord.api.entity.permission with parameters of type Server Constructor Description RoleBuilder(Server server)Creates a new role role builder for the given server. -
Uses of Server in org.javacord.api.entity.server
Methods in org.javacord.api.entity.server that return Server Modifier and Type Method Description ServerBan. getServer()Gets the server of the ban.Methods in org.javacord.api.entity.server that return types with arguments of type Server Modifier and Type Method Description default Optional<Server>Server. getCurrentCachedInstance()Constructors in org.javacord.api.entity.server with parameters of type Server Constructor Description ServerUpdater(Server server)Creates a new server updater. -
Uses of Server in org.javacord.api.entity.server.invite
Methods in org.javacord.api.entity.server.invite that return types with arguments of type Server Modifier and Type Method Description Optional<Server>Invite. getServer()Gets the server of the invite. -
Uses of Server in org.javacord.api.entity.user
Methods in org.javacord.api.entity.user that return types with arguments of type Server Modifier and Type Method Description default Collection<Server>User. getMutualServers()Gets all mutual servers with this user.Methods in org.javacord.api.entity.user with parameters of type Server Modifier and Type Method Description default CompletableFuture<Void>User. deafen(Server server)Deafens this user on the given server.default CompletableFuture<Void>User. deafen(Server server, String reason)Deafens this user on the given server.default Optional<ServerVoiceChannel>User. getConnectedVoiceChannel(Server server)Gets the voice channel this user is connected to on the given server if any.default StringUser. getDisplayName(Server server)Gets the display name of the user.default Optional<Instant>User. getJoinedAtTimestamp(Server server)Gets the timestamp of when the user joined the given server.default Optional<String>User. getNickname(Server server)Gets the nickname of the user in the given server.default Optional<Color>User. getRoleColor(Server server)Gets the displayed color of the user based on his roles in the given server.default List<Role>User. getRoles(Server server)Gets a sorted list (by position) with all roles of the user in the given server.default booleanUser. isDeafened(Server server)Gets the deafened state of the user in the given server.default booleanUser. isMuted(Server server)Gets the muted state of the user in the given server.default booleanUser. isSelfDeafened(Server server)Gets the self-deafened state of the user in the given server.default booleanUser. isSelfMuted(Server server)Gets the self-muted state of the user in the given server.default CompletableFuture<Void>User. mute(Server server)Mutes this user on the given server.default CompletableFuture<Void>User. mute(Server server, String reason)Mutes this user on the given server.default CompletableFuture<Void>User. resetNickname(Server server)Removes the nickname of the user in the given server.default CompletableFuture<Void>User. resetNickname(Server server, String reason)Removes the nickname of the user in the given server.default CompletableFuture<Void>User. undeafen(Server server)Undeafens this user on the given server.default CompletableFuture<Void>User. undeafen(Server server, String reason)Undeafens this user on the given server.default CompletableFuture<Void>User. unmute(Server server)Unmutes this user on the given server.default CompletableFuture<Void>User. unmute(Server server, String reason)Unmutes this user on the given server.default CompletableFuture<Void>User. updateNickname(Server server, String nickname)Changes the nickname of the user in the given server.default CompletableFuture<Void>User. updateNickname(Server server, String nickname, String reason)Changes the nickname of the user in the given server. -
Uses of Server in org.javacord.api.entity.webhook
Methods in org.javacord.api.entity.webhook that return types with arguments of type Server Modifier and Type Method Description Optional<Server>Webhook. getServer()Gets the server of the webhook. -
Uses of Server in org.javacord.api.event.message
Methods in org.javacord.api.event.message that return types with arguments of type Server Modifier and Type Method Description Optional<Server>MessageEvent. getServer()Gets the server of the message. -
Uses of Server in org.javacord.api.event.server
Methods in org.javacord.api.event.server that return Server Modifier and Type Method Description ServerServerEvent. getServer()Gets the server of the event. -
Uses of Server in org.javacord.api.util.internal
Methods in org.javacord.api.util.internal with parameters of type Server Modifier and Type Method Description static ChannelCategoryBuilderDelegateDelegateFactory. createChannelCategoryBuilderDelegate(Server server)Creates a new channel category builder delegate.ChannelCategoryBuilderDelegateDelegateFactoryDelegate. createChannelCategoryBuilderDelegate(Server server)Creates a new channel category builder delegate.static CustomEmojiBuilderDelegateDelegateFactory. createCustomEmojiBuilderDelegate(Server server)Creates a new custom emoji builder delegate.CustomEmojiBuilderDelegateDelegateFactoryDelegate. createCustomEmojiBuilderDelegate(Server server)Creates a new custom emoji builder delegate.static RoleBuilderDelegateDelegateFactory. createRoleBuilderDelegate(Server server)Creates a new role builder delegate.RoleBuilderDelegateDelegateFactoryDelegate. createRoleBuilderDelegate(Server server)Creates a new role builder delegate.static ServerTextChannelBuilderDelegateDelegateFactory. createServerTextChannelBuilderDelegate(Server server)Creates a new server text channel builder delegate.ServerTextChannelBuilderDelegateDelegateFactoryDelegate. createServerTextChannelBuilderDelegate(Server server)Creates a new server text channel builder delegate.static ServerUpdaterDelegateDelegateFactory. createServerUpdaterDelegate(Server server)Creates a new server updater delegate.ServerUpdaterDelegateDelegateFactoryDelegate. createServerUpdaterDelegate(Server server)Creates a new server updater delegate.static ServerVoiceChannelBuilderDelegateDelegateFactory. createServerVoiceChannelBuilderDelegate(Server server)Creates a new server voice channel builder delegate.ServerVoiceChannelBuilderDelegateDelegateFactoryDelegate. createServerVoiceChannelBuilderDelegate(Server server)Creates a new server voice channel builder delegate.
-