Make username, avatar optional configuration parameters. Added channel parameter