mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
Merge pull request #18 from dalbodeule/develop
some debug on TimerEvents
This commit is contained in:
commit
df0c301079
@ -145,7 +145,7 @@ class MessageHandler(
|
||||
dispatcher.post(
|
||||
TimerEvent(
|
||||
user.token,
|
||||
TimerType.TIMER,
|
||||
TimerType.UPTIME,
|
||||
String.format("%02d:%02d:%02d", hours, minutes, seconds)
|
||||
)
|
||||
)
|
||||
|
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user