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;