Just Starting out

Hiya, please search the forums, some examples can be found there. For example: How do i create the !dick or !cocksize command in nightbot, if someone could explain from start to finsh that would be so helpful!