Set message expiration time to 15 seconds
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
531ff66bae
commit
0bcb5d58f4
@ -25,7 +25,7 @@ public class Configuration
|
|||||||
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 = 5L;
|
private final static long expiryTimeSeconds = 15L;
|
||||||
|
|
||||||
// used to count eg. uptime
|
// used to count eg. uptime
|
||||||
private static LocalDateTime startupTime;
|
private static LocalDateTime startupTime;
|
||||||
|
Loading…
Reference in New Issue
Block a user