mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 15:28:21 +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(
|
dispatcher.post(
|
||||||
TimerEvent(
|
TimerEvent(
|
||||||
user.token,
|
user.token,
|
||||||
TimerType.TIMER,
|
TimerType.UPTIME,
|
||||||
String.format("%02d:%02d:%02d", hours, minutes, seconds)
|
String.format("%02d:%02d:%02d", hours, minutes, seconds)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
package space.mori.chzzk_bot.common.events
|
package space.mori.chzzk_bot.common.events
|
||||||
|
|
||||||
enum class TimerType {
|
enum class TimerType(var value: Int) {
|
||||||
UPTIME, TIMER, REMOVE
|
UPTIME(0),
|
||||||
|
TIMER(1),
|
||||||
|
REMOVE(2)
|
||||||
}
|
}
|
||||||
|
|
||||||
class TimerEvent(
|
class TimerEvent(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user