with io.open(os.path.join(os.path.dirname(__file__), 'token'), 'r') as tokenfile: token = tokenfile.read() client.run(token) Can't seem to find this file. Even when I remove the first two lines and just run client.run('token_here') commands don't respond.