Skip to content

Commit 1713b60

Browse files
committed
Changed method name: Pages.buttoned() -> Pages.buttonfy()
1 parent 1891e4b commit 1713b60

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.kuuhaku</groupId>
77
<artifactId>PaginationUtils</artifactId>
8-
<version>0.2</version>
8+
<version>0.3</version>
99
<packaging>jar</packaging>
1010

1111
<name>Pagination Utils</name>
@@ -24,7 +24,7 @@
2424
<connection>scm:git:[email protected]:ygimenez/PaginationUtils.git</connection>
2525
<developerConnection>scm:git:[email protected]:ygimenez/PaginationUtils.git</developerConnection>
2626
</scm>
27-
27+
2828
<distributionManagement>
2929
<repository>
3030
<id>github</id>

src/main/java/com/kuuhaku/method/Pages.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public void onMessageDelete(@Nonnull MessageDeleteEvent event) {
163163
* cannot be acessed when triggering a
164164
* GenericMessageReactionEvent
165165
*/
166-
public static void buttoned(JDA api, Message msg, Map<String, Runnable> buttons) throws ErrorResponseException {
166+
public static void buttonfy(JDA api, Message msg, Map<String, Runnable> buttons) throws ErrorResponseException {
167167
buttons.keySet().forEach(k -> msg.addReaction(k).queue());
168168
msg.addReaction(CANCEL.getCode()).queue();
169169
api.addEventListener(new MessageListener() {
@@ -210,7 +210,7 @@ public void onMessageDelete(@Nonnull MessageDeleteEvent event) {
210210
* cannot be acessed when triggering a
211211
* GenericMessageReactionEvent
212212
*/
213-
public static void buttoned(JDA api, Message msg, Map<String, Runnable> buttons, int time, TimeUnit unit)
213+
public static void buttonfy(JDA api, Message msg, Map<String, Runnable> buttons, int time, TimeUnit unit)
214214
throws ErrorResponseException {
215215
buttons.keySet().forEach(k -> msg.addReaction(k).queue());
216216
msg.addReaction(CANCEL.getCode()).queue();

0 commit comments

Comments
 (0)