Well you said “bot” not “user who may or may not be using BTTV”
So I gave the correct function call for a IRC user. (/pin would of been interpreted as a IRCd server command so .pin over IRC is correct)
As with any new feature Twitch rolls out. ALWAYS TEST IT WITHOUT THIRD PARTY PLUGINS ON