Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 2.02 KB

README.md

File metadata and controls

60 lines (43 loc) · 2.02 KB

Discord Books

A lightweight, implementable library that provides message pagination for Discord

badge java license maven central version gitHub last commit

Installation

Add the following to your pom.xml file:

<dependency>
    <groupId>com.lutzseverino.discordbooks</groupId>
    <artifactId>discord-books-SPIN</artifactId>
    <version>VERSION</version>
</dependency> 

Alternatively, for Gradle:

implementation 'com.lutzseverino.discordbooks:discord-books-SPIN:VERSION'

Replace SPIN and VERSION with the appropriate values.

Available spins

  • core
  • jda (Java Discord API)

Versions

This is the latest version of the library on Maven Central. Compile the library yourself for newer, unreleased versions.

Maven Central

Features

  • Create static books that don't expire as long as they exist in your source.
  • Create on-the-go books that can contain variable content.
  • Choose how books should be stored and retrieved.
  • Customize all aspects of the action rows, add extra ones or change the order.
  • Add action rows to individual pages.
  • Handle errors easily.

Wiki

Understand the library and learn how to use it by reading the wiki.

Credits

Idea and execution by Jasper Lutz Severino. General audit and help for all versions below 1.0.0 by Alberto Mimbrero.