@Synchronized("accessLock") @SuppressWarnings("unchecked") public C createChannel(@NonNull String name){
  C chan=(C)botFactory.createChannel(bot,name);
  channelNameMap.put(name.toLowerCase(locale),chan);
  return chan;
}

@ Synchronized ( "accessLock" ) @ SuppressWarnings ( "unchecked" ) public C createChannel ( @ NonNull String name ) { C chan = ( C ) botFactory . createChannel ( bot , name ) ; channelNameMap . put ( name . toLowerCase ( locale ) , chan ) ; return chan ; }
creates a known channel , internally called when we join a channel
