Make it so if flarebot (<3) is in a channel this nooby bot does not whip

When I tested on mine I used event.getChannel().getUsers()..., I'm not sure if using channel.getUsers() works for willie, so correct me if necessary.
Thanks.