regex makes my head hurt

initial push of working bot with very basic functionality