some debug on TimerEvents

This commit is contained in:
dalbodeule 2024-08-01 20:29:01 +09:00
parent 75b983a02b
commit 6b533bcee9
No known key found for this signature in database
GPG Key ID: EFA860D069C9FA65
2 changed files with 5 additions and 3 deletions

View File

@ -145,7 +145,7 @@ class MessageHandler(
dispatcher.post(
TimerEvent(
user.token,
TimerType.TIMER,
TimerType.UPTIME,
String.format("%02d:%02d:%02d", hours, minutes, seconds)
)
)

View File

@ -1,7 +1,9 @@
package space.mori.chzzk_bot.common.events
enum class TimerType {
UPTIME, TIMER, REMOVE
enum class TimerType(var value: Int) {
UPTIME(0),
TIMER(1),
REMOVE(2)
}
class TimerEvent(