Raise interaction expiration time to 30s
This commit is contained in:
parent
78f62b5f8d
commit
c1059bb937
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user