TwitchLib / TwitchLib.Unity

TwitchLib repository representing all code belonging to the implementation of TwitchLib for Unity. Maintained primarily by LuckyNoS7evin.
164 stars 33 forks source link

IRC Commands #56

Closed uurha closed 3 years ago

uurha commented 3 years ago

Hi, I meet the problem that not possible to send "/vips" message. Someone have suggestion?

swiftyspiffy commented 3 years ago

You can probably use:

client.SendRaw("/vips");
swiftyspiffy commented 3 years ago

Er wait, that's a chat command.

Just use:

client.SendMessage("channel", "/vips");
uurha commented 3 years ago

Er wait, that's a chat command.

Just use:

client.SendMessage("channel", "/vips");

Sorry but not working. Also tried " client.SendRaw("/vips"); " (this not totally correct (correct syntax client.SendRaw("<user>!<user>@<user>.tmi.twitch.tv PRIVMSG #<channel> :/vips"); )) but it's not working.

uurha commented 3 years ago

I think that problem because released dll is obsolete. You can try to send /vips and you will not receive _client.OnMessageSent event, but /me is working.

swiftyspiffy commented 3 years ago

Try using the dot notation:

client.SendMessage("channel", ".vips");

Also is it possible the channel doesn't have VIPs enabled or doesn't have any?

uurha commented 3 years ago

Try using the dot notation:

client.SendMessage("channel", ".vips");

Also is it possible the channel doesn't have VIPs enabled or doesn't have any?

okay, I'll try. Channel have vips and chat:edit enabled for bot

uurha commented 3 years ago

No still not working (I just update plugin to 1.0.1). Also I tried to use Extension client.GetVIPs(_channel); but no response.

uurha commented 3 years ago

omfg, I found out that answer for .vips you receiving in OnVIPsReceived event (in 1.0,1 version). Thx for your patience.

swiftyspiffy commented 3 years ago

Ya... totally forgot about that. Sorry :(