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

Commit bed7c14

Browse files
committed
Complete requirement rework. Not tested yet.
1 parent 9fab117 commit bed7c14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

simpletest/src/main/scala/simpletestPlugin.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import org.codeoverflow.chatoverflow.api.plugin.{Plugin, PluginManager}
44
class simpletestPlugin(manager: PluginManager) extends Plugin {
55

66
private val require = new Requirements
7-
private val twitchChatInput = require.input.requireTwitchChatInput("reqTwitch", "A twitch channel", false)
8-
private val nameToSayHelloTo = require.parameter.requireString("reqHello", "Your name", true)
7+
private val twitchChatInput = require.input.twitchChat("reqTwitch", "A twitch channel", false)
8+
private val nameToSayHelloTo = require.parameter.string("reqHello", "Your name", true)
99

1010
override def start(): Unit = {
1111
println("Started successfully!")

0 commit comments

Comments
 (0)