mumixam / weechat-twitch

Checks status of streams using twitch api
31 stars 9 forks source link

/WHOIS Response Location When Using Relay Client #15

Open Techman opened 3 years ago

Techman commented 3 years ago

Hello,

From the README, it says:

/whois twitchuser will perform a api lookup on said user and reply in the buffer you issued the command from.

I discovered a slight issue with this. When I ran a /WHOIS on myself from a relay client, the output is written to whatever buffer WeeChat itself is focused on. In my case, WeeChat was looking at the core.weechat buffer, while my /WHOIS command was issued from the irc.server.twitch buffer in Glowing-Bear.

Is there a way to improve this behavior so that the response can be sent to the buffer the command was issued from, or to the Twitch server window itself?