add get title function to bot