twitch: change chat trigger to /t

// was taken by clan chat with the recent update
This commit is contained in:
Adam
2021-05-21 13:26:22 -04:00
parent ab2454ca75
commit 903e73f9f6

View File

@@ -211,9 +211,9 @@ public class TwitchPlugin extends Plugin implements TwitchListener, ChatboxInput
public boolean onChatboxInput(ChatboxInput chatboxInput)
{
String message = chatboxInput.getValue();
if (message.startsWith("//"))
if (message.startsWith("/t "))
{
message = message.substring(2);
message = message.substring(3);
if (message.isEmpty() || twitchIRCClient == null)
{
return true;