Tmi.js Bot You don't have permission to perform that action

thanks for the answer, I am using OAuth token but with no channel:moderate scope. Honestly I don’t know where is needed as I have not found any possible implementation of it. The bot is not a moderator of the channel, I tried to declare it using the method client.mod("channel", "username") but I got the same error message.