Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit e63b1c7

Browse files
committed
Add raid events to the api and to tipeeestream
1 parent c521003 commit e63b1c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testall/src/main/scala/org/codeoverflow/plugins/testall/tests/tipeeestreamtest.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class tipeeestreamtest(val plugin: testallPlugin,
1919
} Streak: ${e.getInfo.getResub}")
2020
)
2121
event.get.registerCheerEventHandler(e => log(s"${e.getInfo.getCheerer.getDisplayName} just cheered ${e.getInfo.getAmount} bits: ${e.getInfo.getMessage}."))
22+
event.get.registerRaidEventHandler(e => log(s"${e.getInfo.getStreamer.getDisplayName} is raiding you with ${e.getInfo.getViewerCount} viewers: ${e.getInfo.getMessage}."))
2223
}
2324

2425
override def loop(): Unit = {}

0 commit comments

Comments
 (0)