Token is valid but bot is failing to connect

You have a typo in oath:

it should be oauth:

const opts = {
    options: { debug: true},
    identity: {
        username: 'krawfbot',
        password: 'oauth:mytoken'
  },
  channels: [ 'krawfbot' ]
};