Timeout with tmi.js

so for example I could use conditions or switch like if there is such word such word on chat etc…
client.timeout(mychannel, “username”, a duration, “reason”); ?