twitch: change chat trigger to /t
// was taken by clan chat with the recent update
This commit is contained in:
@@ -211,9 +211,9 @@ public class TwitchPlugin extends Plugin implements TwitchListener, ChatboxInput
|
|||||||
public boolean onChatboxInput(ChatboxInput chatboxInput)
|
public boolean onChatboxInput(ChatboxInput chatboxInput)
|
||||||
{
|
{
|
||||||
String message = chatboxInput.getValue();
|
String message = chatboxInput.getValue();
|
||||||
if (message.startsWith("//"))
|
if (message.startsWith("/t "))
|
||||||
{
|
{
|
||||||
message = message.substring(2);
|
message = message.substring(3);
|
||||||
if (message.isEmpty() || twitchIRCClient == null)
|
if (message.isEmpty() || twitchIRCClient == null)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user