fix(command): missing custom id for modal

This commit is contained in:
Anhgelus Morhtuuzh 2025-08-21 14:38:59 +02:00
parent 9a58e3db84
commit ecf41adc3c
Signed by: anhgelus
GPG key ID: CAD341EFA92DDDE5
5 changed files with 27 additions and 20 deletions

View file

@ -53,7 +53,7 @@ func LevelXP(level uint) uint {
func TimeStampNDaysBefore(n uint) string {
var unix time.Time
if gokord.Debug {
unix = time.Unix(time.Now().Unix()-int64(n), 0) // reduce time for debug
unix = time.Unix(time.Now().Unix()-int64(n)*6, 0) // reduce time for debug
} else {
unix = time.Unix(time.Now().Unix()-int64(n*24*60*60), 0)
}