A B C D G N P R S
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addCommand(Commands.CommandInfo) - Method in class net.discordservices.dservices4j.Commands
-
Adds a command to the list using a
CommandInfo
instance. - addCommands(List<Commands.CommandInfo>) - Method in class net.discordservices.dservices4j.Commands
-
Adds the provided commands to the list using the provided List of
CommandInfo
instances. - addCommands(Commands.CommandInfo...) - Method in class net.discordservices.dservices4j.Commands
-
Adds the provided commands to the list using the provided
CommandInfo
instances.
B
- build() - Method in class net.discordservices.dservices4j.DServices4J.Builder
- Builder() - Constructor for class net.discordservices.dservices4j.DServices4J.Builder
C
- CommandInfo(String, String, String) - Constructor for class net.discordservices.dservices4j.Commands.CommandInfo
-
Constructor to set the CommandInfo instance, which will be used in the addCommand options.
- Commands - Class in net.discordservices.dservices4j
-
Class used for posting Command information (name, description and category) to the Discordservices API.
- Commands.CommandInfo - Class in net.discordservices.dservices4j
-
Class used for the
addCommand(...)
methods.
D
- DServices4J - Class in net.discordservices.dservices4j
-
Main class used for the Java Wrapper.
- DServices4J.Builder - Class in net.discordservices.dservices4j
-
Builder class for easier setup of the
DServices4J
class.
G
- getCategory() - Method in class net.discordservices.dservices4j.Commands.CommandInfo
- getCommands() - Method in class net.discordservices.dservices4j.DServices4J
-
Gets an instance of the
Command
class, which is used to submit the commands a bot has to the Discordservices API. - getDescription() - Method in class net.discordservices.dservices4j.Commands.CommandInfo
- getName() - Method in class net.discordservices.dservices4j.Commands.CommandInfo
- getNews() - Method in class net.discordservices.dservices4j.DServices4J
-
Gets an instance of the
News
class, which is used to post announcements about your bot. - getStats() - Method in class net.discordservices.dservices4j.DServices4J
-
Gets an instance of the
Stats
class, which is used to submit statistics like server and shard count to the Discordservices API.
N
- net.discordservices.dservices4j - package net.discordservices.dservices4j
-
Installation
- net.discordservices.dservices4j.exceptions - package net.discordservices.dservices4j.exceptions
- News - Class in net.discordservices.dservices4j
-
Class used to post News to the bot page on Discordservices.
P
- postCommands() - Method in class net.discordservices.dservices4j.Commands
-
Posts the previously set commands to the Discordservices API.
- postNews(String, String) - Method in class net.discordservices.dservices4j.News
-
Posts news to the bot page.
- postNews(String, String, boolean) - Method in class net.discordservices.dservices4j.News
-
Posts news to the bot page.
- postStats(long) - Method in class net.discordservices.dservices4j.Stats
-
Performs a POST request towards the Stats endpoint.
- postStats(long, long) - Method in class net.discordservices.dservices4j.Stats
-
Performs a POST request towards the Stats endpoint.
R
- RatelimitedException - Exception in net.discordservices.dservices4j.exceptions
-
Indicates that the bot/application got rate limited by the Discordservices API.
- RatelimitedException(String, String) - Constructor for exception net.discordservices.dservices4j.exceptions.RatelimitedException
S
- setCommands(List<Commands.CommandInfo>) - Method in class net.discordservices.dservices4j.Commands
-
Sets the provided commands for the list using the provided List of
CommandInfo
instances. - setCommands(Commands.CommandInfo...) - Method in class net.discordservices.dservices4j.Commands
-
Sets the provided commands for the list using the provided
CommandInfo
instances. - setId(long) - Method in class net.discordservices.dservices4j.DServices4J.Builder
-
Sets the ID of your bot that will be used for the different endpoints.
- setId(String) - Method in class net.discordservices.dservices4j.DServices4J.Builder
-
Sets the ID of your bot that will be used for the different endpoints.
- setToken(String) - Method in class net.discordservices.dservices4j.DServices4J.Builder
-
Sets the API token (This is NOT your Bot token!)
- Stats - Class in net.discordservices.dservices4j
-
Class used to post Bot statistics (Server and shard count) to the Discordservices API.
All Classes All Packages