Added untested code to bot module