Yes.
You shouldn’t put your bot in another channel without permission of the channel owner
Further more sounds like you are logging users elsewhere with the intention of banning them in your home channel, and that’s shadow banning and a hell of a grey area.