Raise interaction expiration time to 30s

This commit is contained in:
Bea 2022-12-21 03:43:55 +01:00
parent 78f62b5f8d
commit c1059bb937

View File

@ -46,7 +46,7 @@ public class Cache
private final static String expiryTimestampFormat = "yy/MM/dd HH:mm:ss"; 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. // note: discord sets interactions' expiry time to 15 minutes by default, so we can't go higher than that.
private final static long expiryTimeSeconds = 15L; private final static long expiryTimeSeconds = 30L;
// used to count e.g. uptime // used to count e.g. uptime
private static LocalDateTime startupTime = null; private static LocalDateTime startupTime = null;