From f73b489844ab0c3f93dbe893e526f8d1f2476ee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Mon, 21 Nov 2022 11:15:23 +0100 Subject: [PATCH] Bump version --- src/main/java/wtf/beatrice/hidekobot/Configuration.java | 2 ++ src/main/java/wtf/beatrice/hidekobot/HidekoBot.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/wtf/beatrice/hidekobot/Configuration.java b/src/main/java/wtf/beatrice/hidekobot/Configuration.java index db3b5d9..f330753 100644 --- a/src/main/java/wtf/beatrice/hidekobot/Configuration.java +++ b/src/main/java/wtf/beatrice/hidekobot/Configuration.java @@ -16,6 +16,8 @@ public class Configuration private static final long botOwnerId = 979809420714332260L; private final static String expiryTimestampFormat = "yy/MM/dd HH:mm:ss"; + + // note: discord sets interactions' expiry time to 15 minutes by default, so we can't go higher than that. private final static long expiryTimeSeconds = 60L; private final static String defaultInviteLink = diff --git a/src/main/java/wtf/beatrice/hidekobot/HidekoBot.java b/src/main/java/wtf/beatrice/hidekobot/HidekoBot.java index 0da59c4..61409df 100644 --- a/src/main/java/wtf/beatrice/hidekobot/HidekoBot.java +++ b/src/main/java/wtf/beatrice/hidekobot/HidekoBot.java @@ -26,7 +26,7 @@ import java.util.concurrent.TimeUnit; public class HidekoBot { private static String botToken; - private static final String version = "0.1.0-slash"; // we should probably find a way to make this consistent with Maven + private static final String version = "0.1.1-slash"; // we should probably find a way to make this consistent with Maven private static JDA jda;