Merge pull request #18 from dalbodeule/develop

some debug on TimerEvents
This commit is contained in:
JinU Choi 2024-08-01 20:37:11 +09:00 committed by GitHub
commit df0c301079
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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(