public static void main(String[] args) {
Bot bot = new Bot("<TOKEN>");
bot.setGame("<GAME>");
bot.setStatus(OnlineStatus.ONLINE);
bot.setPrefix("<PREFIX>");
bot.addCommand("<COMMAND>", new Command() {
@Override
public boolean needsExecution(MessageReceivedEvent e, String[] args) {
return false;
}
@Override
public void execute(MessageReceivedEvent e, String[] args) {
}
});
bot.start();
}
yoyosource/BotAPI
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published